Closed Bug 805492 Opened 12 years ago Closed 12 years ago

The new decompiler is hitting an AssertNoGC()

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: terrence, Assigned: terrence)

Details

Attachments

(1 file)

Jason hit this failing stack: https://gist.github.com/3954084 Looking into it now.
Attached patch v0Splinter Review
This should either fix the problem or make the assert happen closer to the problem.
Attachment #675202 - Flags: feedback?(jorendorff)
Attachment #675202 - Flags: feedback?(jorendorff) → feedback+
Comment on attachment 675202 [details] [diff] [review] v0 Review of attachment 675202 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsopcode.cpp @@ +328,3 @@ > { > + AssertCanGC(); > + RootedScript script(cx, scriptArg); This can just take a HandleScript now, no?
No, it's part of the API.
Attachment #675202 - Flags: review?(sphink)
Comment on attachment 675202 [details] [diff] [review] v0 Review of attachment 675202 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsopcode.cpp @@ +328,3 @@ > { > + AssertCanGC(); > + RootedScript script(cx, scriptArg); Apparently, the JSScript* is for calling from gdb, where constructing a Handle might be annoying. And given that this isn't exposed in any header file, that seems valid.
Attachment #675202 - Flags: review?(sphink) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: