Last Comment Bug 707341 - Remove VOUCH_DOES_NOT_REQUIRE_STACK_FRAME
: Remove VOUCH_DOES_NOT_REQUIRE_STACK_FRAME
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Windows 7
: -- normal (vote)
: mozilla11
Assigned To: David Mandelin [:dmandelin]
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks: 698201
  Show dependency treegraph
 
Reported: 2011-12-02 15:21 PST by David Mandelin [:dmandelin]
Modified: 2011-12-09 06:56 PST (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch (9.98 KB, patch)
2011-12-02 15:21 PST, David Mandelin [:dmandelin]
jorendorff: review+
Details | Diff | Splinter Review

Description David Mandelin [:dmandelin] 2011-12-02 15:21:05 PST
Created attachment 578748 [details] [diff] [review]
Patch

Required only for the tracer.
Comment 1 Jason Orendorff [:jorendorff] 2011-12-06 15:57:37 PST
Comment on attachment 578748 [details] [diff] [review]
Patch

I guess this changes behavior in js_FindClassObject in the goofball case where the JS stack is empty and cx->globalObject is null. We used to set *vp to undefined and return true. Now we will throw.

Fine with me, if it passes try server.

Thanks for doing this.
Comment 2 David Mandelin [:dmandelin] 2011-12-08 11:56:32 PST
http://hg.mozilla.org/integration/mozilla-inbound/rev/e67dd183cd4d

There were a few failures on try, but they seemed to be failures that lots of other try builds were having, so I think it's good.
Comment 3 Ed Morley [:emorley] 2011-12-09 06:56:30 PST
https://hg.mozilla.org/mozilla-central/rev/e67dd183cd4d

Note You need to log in before you can comment on or make changes to this bug.