Revision: 19158
Author: [email protected]
Date: Thu Feb 6 14:26:30 2014 UTC
Log: A64: Initialize CPURegisters before we use them in
MacroAssembler::PrintfNoPreserve
Since CPURegister is now a POD, it's not default constructed anymore.
BUG=none
[email protected], [email protected]
LOG=n
Review URL: https://codereview.chromium.org/140893008
http://code.google.com/p/v8/source/detail?r=19158
Modified:
/branches/experimental/a64/src/a64/macro-assembler-a64.cc
=======================================
--- /branches/experimental/a64/src/a64/macro-assembler-a64.cc Thu Feb 6
11:53:35 2014 UTC
+++ /branches/experimental/a64/src/a64/macro-assembler-a64.cc Thu Feb 6
14:26:30 2014 UTC
@@ -4542,7 +4542,7 @@
CPURegister args[kMaxArgCount] = {arg0, arg1, arg2, arg3};
// The PCS registers where the arguments need to end up.
- CPURegister pcs[kMaxArgCount];
+ CPURegister pcs[kMaxArgCount] = {NoCPUReg, NoCPUReg, NoCPUReg, NoCPUReg};
// Promote FP arguments to doubles, and integer arguments to X registers.
// Note that FP and integer arguments cannot be mixed, but we'll check
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.