Revision: 22261
Author: [email protected]
Date: Tue Jul 8 05:48:37 2014 UTC
Log: X87: Fix computed properties on object literals with a double as
propertyname.
port r22255.
original commit message:
Fix computed properties on object literals with a double as propertyname.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/379513002
Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22261
Modified:
/branches/bleeding_edge/src/x87/full-codegen-x87.cc
=======================================
--- /branches/bleeding_edge/src/x87/full-codegen-x87.cc Wed Jul 2 07:07:22
2014 UTC
+++ /branches/bleeding_edge/src/x87/full-codegen-x87.cc Tue Jul 8 05:48:37
2014 UTC
@@ -1643,8 +1643,8 @@
VisitForStackValue(key);
VisitForStackValue(value);
if (property->emit_store()) {
- __ push(Immediate(Smi::FromInt(NONE))); // PropertyAttributes
- __ CallRuntime(Runtime::kAddProperty, 4);
+ __ push(Immediate(Smi::FromInt(SLOPPY))); // Strict mode
+ __ CallRuntime(Runtime::kSetProperty, 4);
} else {
__ Drop(3);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.