Changeset 147851 in webkit


Ignore:
Timestamp:
Apr 6, 2013 1:04:05 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

--minimal build fails with error: control reaches end of non-void function
https://bugs.webkit.org/show_bug.cgi?id=114085

Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-06
Reviewed by Oliver Hunt.

  • interpreter/Interpreter.cpp: return 0 if JIT is not enabled

(JSC::getBytecodeOffsetForCallFrame):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r147849 r147851  
     12013-04-06  Ed Bartosh  <bartosh@gmail.com>
     2
     3        --minimal build fails with error: control reaches end of non-void function
     4        https://bugs.webkit.org/show_bug.cgi?id=114085
     5
     6        Reviewed by Oliver Hunt.
     7
     8        * interpreter/Interpreter.cpp: return 0 if JIT is not enabled
     9        (JSC::getBytecodeOffsetForCallFrame):
     10
    1112013-04-06  Geoffrey Garen  <ggaren@apple.com>
    212
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp

    r147846 r147851  
    578578#endif
    579579    return codeBlock->lineNumberForBytecodeOffset(callFrame->bytecodeOffsetForNonDFGCode());
     580#else
     581    return 0;
    580582#endif
    581583}
Note: See TracChangeset for help on using the changeset viewer.