Closed Bug 844467 Opened 11 years ago Closed 11 years ago

BaselineCompiler: Assertion failure: hasCallObj(), at ../ion/BaselineFrame.h:235

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: jandem)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase, Whiteboard: [js:t][jsbugmon:update])

Attachments

(1 file)

The following testcase asserts on baseline compiler branch revision b7e4d01b541e (run with --ion-eager):


test();
function test() {
  var f;
  function gen(yield_at_least_once) {
    f = function(){};
  }
  for (var i in gen()) {}
  arguments[arguments.length - 1];
}
Attached patch PatchSplinter Review
When we bailout to the interpreter, we call EnsureHasScopeObjects to ensure the frame has a call object. This patch also calls EnsureHasScopeObjects when we bailout to baseline.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #717887 - Flags: review?(kvijayan)
Attachment #717887 - Flags: review?(kvijayan) → review+
Whiteboard: [jsbugmon:update] → [js:t][jsbugmon:update]
https://hg.mozilla.org/projects/ionmonkey/rev/2ec312d66cd7
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: