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

Unified Diff: src/a64/debug-a64.cc

Issue 143493006: A64: Eliminate static initializers (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: updates Created 6 years, 10 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/a64/constants-a64.h ('k') | src/a64/frames-a64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/debug-a64.cc
diff --git a/src/a64/debug-a64.cc b/src/a64/debug-a64.cc
index b25e6ecae44eaaed3ecb3001929c3e002e4b2746..dc8b24cd13a3ace9eefb4d819a71a688ce8ec546 100644
--- a/src/a64/debug-a64.cc
+++ b/src/a64/debug-a64.cc
@@ -183,7 +183,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
CPURegList(CPURegister::kRegister, kXRegSize, non_object_regs);
while (!non_object_list.IsEmpty()) {
// Store each non-object register as two SMIs.
- Register reg(non_object_list.PopLowestIndex());
+ Register reg = Register(non_object_list.PopLowestIndex());
__ Push(reg);
__ Poke(wzr, 0);
__ Push(reg.W(), wzr);
@@ -222,7 +222,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
// jssp[8]: 0x00000000 (SMI tag & padding)
// jssp[4]: reg[31:0]
// jssp[0]: 0x00000000 (SMI tag & padding)
- Register reg(non_object_list.PopHighestIndex());
+ Register reg = Register(non_object_list.PopHighestIndex());
__ Pop(scratch, reg);
__ Bfxil(reg, scratch, 32, 32);
}
« no previous file with comments | « src/a64/constants-a64.h ('k') | src/a64/frames-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698