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

Unified Diff: src/a64/macro-assembler-a64.h

Issue 171583004: A64: Fix compilation with clang (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/macro-assembler-a64.h
diff --git a/src/a64/macro-assembler-a64.h b/src/a64/macro-assembler-a64.h
index 93e9e80d043deee744e2273396a9923864bcdbd9..43a69b89e4005ef9daa4c1b72fedacd3094ae5e5 100644
--- a/src/a64/macro-assembler-a64.h
+++ b/src/a64/macro-assembler-a64.h
@@ -2166,7 +2166,12 @@ class MacroAssembler : public Assembler {
class InstructionAccurateScope BASE_EMBEDDED {
public:
InstructionAccurateScope(MacroAssembler* masm, size_t count = 0)
- : masm_(masm), size_(count * kInstructionSize) {
+ : masm_(masm)
+#ifdef DEBUG
+ ,
+ size_(count * kInstructionSize)
+#endif
+ {
masm_->StartBlockConstPool();
#ifdef DEBUG
if (count != 0) {
@@ -2189,8 +2194,8 @@ class InstructionAccurateScope BASE_EMBEDDED {
private:
MacroAssembler* masm_;
- size_t size_;
#ifdef DEBUG
+ size_t size_;
Label start_;
bool previous_allow_macro_instructions_;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698