Optimized stores of smis on x64 temporarily disabled.
BUG=338425 LOG=N R=yangguo@chromium.org Review URL: https://codereview.chromium.org/132753008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19155 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
42ea494cd6
commit
a26bd05be3
@ -234,6 +234,7 @@ DEFINE_implication(track_double_fields, track_fields)
|
||||
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,
|
||||
|
@ -6541,6 +6541,7 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> {
|
||||
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 @@ class HStoreKeyed V8_FINAL
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user