Commit 1caa93af authored by oliver@apple.com's avatar oliver@apple.com

Build fix.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fc3d5a36
2013-04-05 Oliver Hunt <oliver@apple.com>
Build fix.
* interpreter/Interpreter.cpp:
(JSC::getBytecodeOffsetForCallFrame):
2013-04-05 Oliver Hunt <oliver@apple.com> 2013-04-05 Oliver Hunt <oliver@apple.com>
Unify the many and varied stack trace mechanisms, and make the result sane. Unify the many and varied stack trace mechanisms, and make the result sane.
...@@ -569,7 +569,7 @@ static unsigned getBytecodeOffsetForCallFrame(CallFrame* callFrame) ...@@ -569,7 +569,7 @@ static unsigned getBytecodeOffsetForCallFrame(CallFrame* callFrame)
callFrame = callFrame->removeHostCallFrameFlag(); callFrame = callFrame->removeHostCallFrameFlag();
CodeBlock* codeBlock = callFrame->codeBlock(); CodeBlock* codeBlock = callFrame->codeBlock();
if (!codeBlock) if (!codeBlock)
return -1; return 0;
#if ENABLE(JIT) #if ENABLE(JIT)
#if ENABLE(DFG_JIT) #if ENABLE(DFG_JIT)
if (codeBlock->getJITType() == JITCode::DFGJIT) if (codeBlock->getJITType() == JITCode::DFGJIT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment