Index: src/hydrogen-gvn.cc |
diff --git a/src/hydrogen-gvn.cc b/src/hydrogen-gvn.cc |
index b32b90951a95f991cadcfe2b4ee7f5a94064337e..398897b12a8188f42415b85ca6dbfaf6b3e6b3e2 100644 |
--- a/src/hydrogen-gvn.cc |
+++ b/src/hydrogen-gvn.cc |
@@ -140,10 +140,10 @@ HInstructionMap::HInstructionMap(Zone* zone, const HInstructionMap* other) |
lists_(zone->NewArray<HInstructionMapListElement>(other->lists_size_)), |
free_list_head_(other->free_list_head_), |
side_effects_tracker_(other->side_effects_tracker_) { |
- OS::MemCopy( |
- array_, other->array_, array_size_ * sizeof(HInstructionMapListElement)); |
- OS::MemCopy( |
- lists_, other->lists_, lists_size_ * sizeof(HInstructionMapListElement)); |
+ MemCopy(array_, other->array_, |
+ array_size_ * sizeof(HInstructionMapListElement)); |
+ MemCopy(lists_, other->lists_, |
+ lists_size_ * sizeof(HInstructionMapListElement)); |
} |
@@ -270,8 +270,7 @@ void HInstructionMap::ResizeLists(int new_size, Zone* zone) { |
lists_ = new_lists; |
if (old_lists != NULL) { |
- OS::MemCopy( |
- lists_, old_lists, old_size * sizeof(HInstructionMapListElement)); |
+ MemCopy(lists_, old_lists, old_size * sizeof(HInstructionMapListElement)); |
} |
for (int i = old_size; i < lists_size_; ++i) { |
lists_[i].next = free_list_head_; |
@@ -315,9 +314,9 @@ HSideEffectMap::HSideEffectMap(HSideEffectMap* other) : count_(other->count_) { |
} |
-HSideEffectMap& HSideEffectMap::operator= (const HSideEffectMap& other) { |
+HSideEffectMap& HSideEffectMap::operator=(const HSideEffectMap& other) { |
if (this != &other) { |
- OS::MemCopy(data_, other.data_, kNumberOfTrackedSideEffects * kPointerSize); |
+ MemCopy(data_, other.data_, kNumberOfTrackedSideEffects * kPointerSize); |
} |
return *this; |
} |