Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: src/hydrogen-check-elimination.cc

Issue 306473004: Reland 21502 - "Move OS::MemCopy and OS::MemMove out of platform to utils" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen-gvn.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-check-elimination.cc
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc
index f3c5cbe151e3e7e1615834bf3834927158e03f78..506a04588995fbd25c858424b1461adf1155b781 100644
--- a/src/hydrogen-check-elimination.cc
+++ b/src/hydrogen-check-elimination.cc
@@ -622,9 +622,9 @@ class HCheckTable : public ZoneObject {
int L = cursor_;
int R = size_ - cursor_;
- OS::MemMove(&tmp_entries[0], &entries_[0], L * sizeof(HCheckTableEntry));
- OS::MemMove(&entries_[0], &entries_[L], R * sizeof(HCheckTableEntry));
- OS::MemMove(&entries_[R], &tmp_entries[0], L * sizeof(HCheckTableEntry));
+ MemMove(&tmp_entries[0], &entries_[0], L * sizeof(HCheckTableEntry));
+ MemMove(&entries_[0], &entries_[L], R * sizeof(HCheckTableEntry));
+ MemMove(&entries_[R], &tmp_entries[0], L * sizeof(HCheckTableEntry));
}
cursor_ = size_; // Move cursor to end.
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen-gvn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698