diff options
Diffstat (limited to 'Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h')
-rw-r--r-- | Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h b/Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h index bfb951018..c2cf4d1dc 100644 --- a/Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h +++ b/Source/JavaScriptCore/bytecode/LLIntCallLinkInfo.h @@ -23,8 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef LLIntCallLinkInfo_h -#define LLIntCallLinkInfo_h +#pragma once #include "JSFunction.h" #include "MacroAssemblerCodeRef.h" @@ -45,7 +44,7 @@ struct LLIntCallLinkInfo : public BasicRawSentinelNode<LLIntCallLinkInfo> { remove(); } - bool isLinked() { return callee; } + bool isLinked() { return !!callee; } void unlink() { @@ -61,6 +60,3 @@ struct LLIntCallLinkInfo : public BasicRawSentinelNode<LLIntCallLinkInfo> { }; } // namespace JSC - -#endif // LLIntCallLinkInfo_h - |