Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index fd013f96b5a3889dc1faa3d9f09ee3f6fa3724cf..17cb7d1aa156edfc660f1e0ce1236d054d536d35 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1388,18 +1388,9 @@ class HGraphBuilder { |
HInstruction* AddLoadStringInstanceType(HValue* string); |
HInstruction* AddLoadStringLength(HValue* string); |
- HStoreNamedField* AddStoreMapNoWriteBarrier(HValue* object, HValue* map) { |
- HStoreNamedField* store_map = Add<HStoreNamedField>( |
- object, HObjectAccess::ForMap(), map); |
- store_map->SkipWriteBarrier(); |
- return store_map; |
- } |
- HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map); |
- HStoreNamedField* AddStoreMapConstantNoWriteBarrier(HValue* object, |
- Handle<Map> map) { |
- HStoreNamedField* store_map = AddStoreMapConstant(object, map); |
- store_map->SkipWriteBarrier(); |
- return store_map; |
+ HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) { |
+ return Add<HStoreNamedField>(object, HObjectAccess::ForMap(), |
+ Add<HConstant>(map)); |
} |
HLoadNamedField* AddLoadElements(HValue* object, |
HValue* dependency = NULL); |