Revision: 19155
Author:   [email protected]
Date:     Thu Feb  6 13:16:44 2014 UTC
Log:      Optimized stores of smis on x64 temporarily disabled.

BUG=338425
LOG=N
[email protected]

Review URL: https://codereview.chromium.org/132753008
http://code.google.com/p/v8/source/detail?r=19155

Modified:
 /branches/bleeding_edge/src/flag-definitions.h
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/flag-definitions.h Thu Feb 6 10:30:13 2014 UTC +++ /branches/bleeding_edge/src/flag-definitions.h Thu Feb 6 13:16:44 2014 UTC
@@ -234,6 +234,7 @@
 DEFINE_implication(track_heap_object_fields, track_fields)
 DEFINE_implication(track_computed_fields, track_fields)
DEFINE_bool(smi_binop, true, "support smi representation in binary operations")
+DEFINE_bool(smi_x64_store_opt, false, "optimized stores of smi on x64")

 // Flags for optimization types.
 DEFINE_bool(optimize_for_size, false,
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Feb 5 17:21:34 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.h Thu Feb 6 13:16:44 2014 UTC
@@ -6541,6 +6541,7 @@
         write_barrier_mode_(UPDATE_WRITE_BARRIER),
         has_transition_(false),
         store_mode_(store_mode) {
+    if (!FLAG_smi_x64_store_opt) store_mode_ = INITIALIZING_STORE;
     // Stores to a non existing in-object property are allowed only to the
     // newly allocated objects (via HAllocate or HInnerAllocatedObject).
     ASSERT(!access.IsInobject() || access.existing_inobject_property() ||
@@ -6729,6 +6730,7 @@
       is_uninitialized_(false),
       store_mode_(store_mode),
       new_space_dominator_(NULL) {
+    if (!FLAG_smi_x64_store_opt) store_mode_ = INITIALIZING_STORE;
     SetOperandAt(0, obj);
     SetOperandAt(1, key);
     SetOperandAt(2, val);

--
--
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/groups/opt_out.

Reply via email to