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

Unified Diff: src/x64/assembler-x64.cc

Issue 122030: X64: Implemented InvokeFunction (Closed)
Patch Set: Created 11 years, 6 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
Index: src/x64/assembler-x64.cc
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
index daed68bbabf86ffb2d7119eb4926e12c717f5504..83ff2606ae0ca9aaeaab23ff818f92c5f820a8aa 100644
--- a/src/x64/assembler-x64.cc
+++ b/src/x64/assembler-x64.cc
@@ -73,7 +73,7 @@ XMMRegister xmm14 = { 14 };
XMMRegister xmm15 = { 15 };
-Operand::Operand(Register base, int32_t disp) {
+Operand::Operand(Register base, int32_t disp): rex_(0) {
len_ = 1;
if (base.is(rsp) || base.is(r12)) {
// SIB byte is needed to encode (rsp + offset) or (r12 + offset).
@@ -95,7 +95,7 @@ Operand::Operand(Register base, int32_t disp) {
Operand::Operand(Register base,
Register index,
ScaleFactor scale,
- int32_t disp) {
+ int32_t disp): rex_(0) {
ASSERT(!index.is(rsp) && !index.is(r12));
len_ = 1;
set_sib(scale, index, base);
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/builtins-x64.cc » ('j') | src/x64/builtins-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698