RESOLVED FIXED 125791
CStack Branch: Eliminate topOfStack parameter from callToJavaScript() and callToNativeFunction()
https://bugs.webkit.org/show_bug.cgi?id=125791
Summary CStack Branch: Eliminate topOfStack parameter from callToJavaScript() and cal...
Michael Saboff
Reported 2013-12-16 11:19:21 PST
Since callToJavaScript() and callToNativeFunction() now use the C stack, the last Register* topOfStack parameter can be removed.
Attachments
Patch (7.71 KB, patch)
2013-12-16 11:23 PST, Michael Saboff
ggaren: review+
Michael Saboff
Comment 1 2013-12-16 11:23:20 PST
Mark Lam
Comment 2 2013-12-16 12:54:22 PST
Comment on attachment 219335 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=219335&action=review > Source/JavaScriptCore/llint/LLIntThunks.h:44 > + EncodedJSValue callToJavaScript(void*, ExecState**, ProtoCallFrame*); > + EncodedJSValue callToNativeFunction(void*, ExecState**, ProtoCallFrame*); The ExecState** argument doesn't agree with the VM* arg in LowLevelInterpreter.asm below. Which is it supposed to be?
Geoffrey Garen
Comment 3 2013-12-16 13:07:05 PST
Comment on attachment 219335 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=219335&action=review r=me > Source/JavaScriptCore/llint/LowLevelInterpreter.asm:468 > +# EncodedJSValue callToJavaScript(void* code, VM* vm, ProtoCallFrame* protoFrame) > +# EncodedJSValue callToNativeFunction(void* code, VM* vm, ProtoCallFrame* protoFrame) Please change this from VM* to ExecState**. As Mark pointed out, this doesn't match our declaration. Callers pass &vm.topCallFrame, which is an ExecState**.
Michael Saboff
Comment 4 2013-12-16 13:28:33 PST
Note You need to log in before you can comment on or make changes to this bug.