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

Unified Diff: src/x64/code-stubs-x64.h

Issue 105503006: Replace movq with movp for X64 when the operand size is kPointerSize (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased with bleeding_edge Created 6 years, 11 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/x64/builtins-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/code-stubs-x64.h
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h
index 6586a275d5d270f2cf3bc7cf2f12734c0df80687..fb05ff7f3c072ebe75e21e39e1e92b47136dcd93 100644
--- a/src/x64/code-stubs-x64.h
+++ b/src/x64/code-stubs-x64.h
@@ -362,11 +362,11 @@ class RecordWriteStub: public PlatformCodeStub {
masm->push(scratch1_);
if (!address_.is(address_orig_)) {
masm->push(address_);
- masm->movq(address_, address_orig_);
+ masm->movp(address_, address_orig_);
}
if (!object_.is(object_orig_)) {
masm->push(object_);
- masm->movq(object_, object_orig_);
+ masm->movp(object_, object_orig_);
}
}
@@ -375,11 +375,11 @@ class RecordWriteStub: public PlatformCodeStub {
// them back. Only in one case is the orig_ reg different from the plain
// one, since only one of them can alias with rcx.
if (!object_.is(object_orig_)) {
- masm->movq(object_orig_, object_);
+ masm->movp(object_orig_, object_);
masm->pop(object_);
}
if (!address_.is(address_orig_)) {
- masm->movq(address_orig_, address_);
+ masm->movp(address_orig_, address_);
masm->pop(address_);
}
masm->pop(scratch1_);
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698