Closed
Bug 967649
Opened 11 years ago
Closed 11 years ago
Enable baseline compilation for with statements
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: wingo, Assigned: wingo)
References
Details
Attachments
(1 file)
8.27 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
With is bad, but this patch is small, so...
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → wingo
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8370169 [details] [diff] [review]
Enable baseline compilation for with statements
Depends on bug 966912, which is ready to check in once the tree opens.
Attachment #8370169 -
Flags: review?(jdemooij)
Comment 3•11 years ago
|
||
Comment on attachment 8370169 [details] [diff] [review]
Enable baseline compilation for with statements
Review of attachment 8370169 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
::: js/src/jit/VMFunctions.cpp
@@ +933,5 @@
>
> bool
> +EnterWith(JSContext *cx, BaselineFrame *frame, HandleValue val, Handle<StaticWithObject *> templ)
> +{
> + RootedObject obj(cx);
Can you rename the EnterWith in Interpreter.cpp to EnterWithOperation (see also DefFunOperation, ImplicitThisOperation, etc) and do:
return EnterWithOperation(cx, frame, val, templ);
here? It's not a lot of code but it'd be nice to share it with the interpreter.
Attachment #8370169 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Fixed nit as you suggested.
https://hg.mozilla.org/integration/mozilla-inbound/rev/e869145b20d0
Flags: in-testsuite+
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•