diff options
Diffstat (limited to 'JavaScriptCore/runtime/Executable.h')
-rw-r--r-- | JavaScriptCore/runtime/Executable.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/JavaScriptCore/runtime/Executable.h b/JavaScriptCore/runtime/Executable.h index 39ddf49..3320fe1 100644 --- a/JavaScriptCore/runtime/Executable.h +++ b/JavaScriptCore/runtime/Executable.h @@ -305,12 +305,12 @@ namespace JSC { return *m_codeBlockForConstruct; } - FunctionCodeBlock& bytecodeForCall(ExecState* exec, ScopeChainNode* scopeChainNode) + FunctionCodeBlock* bytecodeForCall(ExecState* exec, ScopeChainNode* scopeChainNode) { ASSERT(scopeChainNode); if (!m_codeBlockForCall) compileForCall(exec, scopeChainNode); - return *m_codeBlockForCall; + return m_codeBlockForCall; } bool isGeneratedForCall() const @@ -324,12 +324,12 @@ namespace JSC { return *m_codeBlockForCall; } - FunctionCodeBlock& bytecodeForConstruct(ExecState* exec, ScopeChainNode* scopeChainNode) + FunctionCodeBlock* bytecodeForConstruct(ExecState* exec, ScopeChainNode* scopeChainNode) { ASSERT(scopeChainNode); if (!m_codeBlockForConstruct) compileForConstruct(exec, scopeChainNode); - return *m_codeBlockForConstruct; + return m_codeBlockForConstruct; } bool isGeneratedForConstruct() const @@ -383,8 +383,8 @@ namespace JSC { m_lastLine = lastLine; } - void compileForCall(ExecState*, ScopeChainNode*); - void compileForConstruct(ExecState*, ScopeChainNode*); + bool compileForCall(ExecState*, ScopeChainNode*); + bool compileForConstruct(ExecState*, ScopeChainNode*); unsigned m_numVariables : 31; bool m_forceUsesArguments : 1; |