|args.isConstructing()| does not match |constructing| in BaselineIC.cpp

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: sandervv, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox49 affected)

Details

(Reporter)

Description

3 years ago
if you add |MOZ_ASSERT(args.isConstructing() == constructing);| before line https://dxr.mozilla.org/mozilla-central/rev/1461a4071341c282afcf7b72e33036412d2251d4/js/src/jit/BaselineIC.cpp#5812, you'll get an assertion error.

This prevented me from using |args.isConstructing()| in |GetTemplateObjectForNative|.
You need to log in before you can comment on or make changes to this bug.