Closed Bug 826647 Opened 12 years ago Closed 12 years ago

BaselineCompiler: Compile constructors

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Just like Ion, when entering from the interpreter and are constructing, we have to create the object.
Attachment #697858 - Flags: review?(kvijayan)
Comment on attachment 697858 [details] [diff] [review]
Patch

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

::: js/src/ion/shared/IonFrames-x86-shared.h
@@ +79,5 @@
>      }
>  
> +    Value thisv() {
> +        return argv()[0];
> +    }

This should be added to IonFrames-arm.h as well.
Attachment #697858 - Flags: review?(kvijayan) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/618c1544ac42

(In reply to Kannan Vijayan [:djvj] from comment #1)
> This should be added to IonFrames-arm.h as well.

Oops, good catch.
Status: ASSIGNED → RESOLVED
Closed: 12 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: