⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 106596 in webkit


Ignore:
Timestamp:
Feb 2, 2012, 3:18:13 PM (15 years ago)
Author:
fpizlo@apple.com
Message:

retrieveCallerFromVMCode should call trueCallerFrame
https://bugs.webkit.org/show_bug.cgi?id=77684

Source/JavaScriptCore:

Reviewed by Oliver Hunt.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::retrieveCallerFromVMCode):

LayoutTests:

Rubber stamped by Oliver Hunt.

  • fast/js/dfg-inline-function-dot-caller-expected.txt: Added.
  • fast/js/dfg-inline-function-dot-caller.html: Added.
  • fast/js/script-tests/dfg-inline-function-dot-caller.js: Added.

(resultArray):
(object.nonInlineable.nonInlineable.if):
(object.nonInlineable):
(object.inlineable):
(makeInlinableCall):
(g):

Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r106593 r106596  
     12012-02-02  Filip Pizlo  <fpizlo@apple.com>
     2
     3        retrieveCallerFromVMCode should call trueCallerFrame
     4        https://bugs.webkit.org/show_bug.cgi?id=77684
     5
     6        Rubber stamped by Oliver Hunt.
     7
     8        * fast/js/dfg-inline-function-dot-caller-expected.txt: Added.
     9        * fast/js/dfg-inline-function-dot-caller.html: Added.
     10        * fast/js/script-tests/dfg-inline-function-dot-caller.js: Added.
     11        (resultArray):
     12        (object.nonInlineable.nonInlineable.if):
     13        (object.nonInlineable):
     14        (object.inlineable):
     15        (makeInlinableCall):
     16        (g):
     17
    1182012-02-02  Chris Marrin  <cmarrin@apple.com>
    219
  • trunk/Source/JavaScriptCore/ChangeLog

    r106595 r106596  
     12012-02-02  Filip Pizlo  <fpizlo@apple.com>
     2
     3        retrieveCallerFromVMCode should call trueCallerFrame
     4        https://bugs.webkit.org/show_bug.cgi?id=77684
     5
     6        Reviewed by Oliver Hunt.
     7
     8        * interpreter/Interpreter.cpp:
     9        (JSC::Interpreter::retrieveCallerFromVMCode):
     10
    1112012-02-02  Kalev Lember  <kalevlember@gmail.com>
    212
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp

    r106512 r106596  
    51275127    if (!functionCallFrame)
    51285128        return jsNull();
    5129 
    5130     CallFrame* callerFrame = functionCallFrame->callerFrame();
    5131     if (callerFrame->hasHostCallFrameFlag())
     5129   
     5130    if (functionCallFrame->callerFrame()->hasHostCallFrameFlag())
    51325131        return jsNull();
     5132
     5133    CallFrame* callerFrame = functionCallFrame->trueCallerFrame();
    51335134
    51345135    JSValue caller = callerFrame->callee();
Note: See TracChangeset for help on using the changeset viewer.