Replace mapcheck dependency on HStoreNamedField with object.

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23402005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16308 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
verwaest@chromium.org 2013-08-23 17:55:22 +00:00
parent 43bf8f9754
commit e7b3bb3c81

View File

@ -4495,7 +4495,7 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField(
AddStoreMapConstant(heap_number, isolate()->factory()->heap_number_map());
Add<HStoreNamedField>(heap_number, HObjectAccess::ForHeapNumberValue(),
value);
instr = New<HStoreNamedField>(checked_object,
instr = New<HStoreNamedField>(checked_object->ActualValue(),
heap_number_access,
heap_number);
} else {
@ -4509,7 +4509,9 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField(
}
} else {
// This is a normal store.
instr = New<HStoreNamedField>(checked_object, field_access, value);
instr = New<HStoreNamedField>(checked_object->ActualValue(),
field_access,
value);
}
if (transition_to_field) {