Closed Bug 1162134 Opened 5 years ago Closed 5 years ago

IonMonkey MIPS: Fix build failure on MIPS (js/src/jit/CodeGenerator.cpp:6740:28: error: ‘obj’ was not declared in this scope)

Categories

(Core :: JavaScript Engine: JIT, defect)

Other
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox40 --- affected
firefox41 --- fixed

People

(Reporter: aleksandar.zlicic, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Build error:
js/src/jit/CodeGenerator.cpp:6740:28: error: ‘obj’ was not declared in this scope
Attached patch Bug_1162134.patch (obsolete) — Splinter Review
Patch fixes the build on MIPS.

Build failure was caused by a typo (presumably) in attachment 8590332 [details] [diff] [review].
(Bug 1146597)
Attachment #8602207 - Flags: review?(jdemooij)
Attachment #8602207 - Flags: review?(bhackett1024)
Comment on attachment 8602207 [details] [diff] [review]
Bug_1162134.patch

Review of attachment 8602207 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/jit/CodeGenerator.cpp
@@ +6736,5 @@
>      if (unboxedType == JSVAL_TYPE_MAGIC) {
>          Address initLength(elements, ObjectElements::offsetOfInitializedLength());
>          masm.branchKey(Assembler::NotEqual, initLength, ToInt32Key(index), &callStub);
>      } else {
> +        Address initLength(elements, UnboxedArrayObject::offsetOfCapacityIndexAndInitializedLength());

This should be |object|, not |elements|
Attachment #8602207 - Flags: review?(jdemooij)
Attachment #8602207 - Flags: review?(bhackett1024)
Attachment #8602207 - Flags: review+
Attachment #8602207 - Attachment is obsolete: true
Blocks: 1146597
Duplicate of this bug: 1161357
Attachment #8602767 - Flags: review?(bhackett1024)
Attachment #8602767 - Flags: review?(bhackett1024) → review+
https://hg.mozilla.org/mozilla-central/rev/681762b5ea5d
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.