Revision: 22256
Author: [email protected]
Date: Mon Jul 7 20:28:05 2014 UTC
Log: MIPS: Fix computed properties on object literals with a double as
propertyname.
Port r22255 (cf84805)
BUG=390732
LOG=y
[email protected]
Review URL: https://codereview.chromium.org/370363002
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22256
Modified:
/branches/bleeding_edge/src/mips/full-codegen-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Jul 2
15:21:28 2014 UTC
+++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Mon Jul 7
20:28:05 2014 UTC
@@ -1705,9 +1705,9 @@
VisitForStackValue(key);
VisitForStackValue(value);
if (property->emit_store()) {
- __ li(a0, Operand(Smi::FromInt(NONE))); // PropertyAttributes.
+ __ li(a0, Operand(Smi::FromInt(SLOPPY))); // PropertyAttributes.
__ push(a0);
- __ CallRuntime(Runtime::kAddProperty, 4);
+ __ 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.