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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years 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 unified diff | Download patch
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 STATIC_ASSERT(NUMBER_OF_CONSTRAINTS <= 8); 45 STATIC_ASSERT(NUMBER_OF_CONSTRAINTS <= 8);
46 46
47 class SmiOperationExecutionMode : public EnumSet<SmiOperationConstraint, byte> { 47 class SmiOperationExecutionMode : public EnumSet<SmiOperationConstraint, byte> {
48 public: 48 public:
49 SmiOperationExecutionMode() : EnumSet<SmiOperationConstraint, byte>(0) { } 49 SmiOperationExecutionMode() : EnumSet<SmiOperationConstraint, byte>(0) { }
50 explicit SmiOperationExecutionMode(byte bits) 50 explicit SmiOperationExecutionMode(byte bits)
51 : EnumSet<SmiOperationConstraint, byte>(bits) { } 51 : EnumSet<SmiOperationConstraint, byte>(bits) { }
52 }; 52 };
53 53
54 #ifdef DEBUG 54 #if DCHECK_IS_ON
55 bool AreAliased(Register reg1, 55 bool AreAliased(Register reg1,
56 Register reg2, 56 Register reg2,
57 Register reg3 = no_reg, 57 Register reg3 = no_reg,
58 Register reg4 = no_reg, 58 Register reg4 = no_reg,
59 Register reg5 = no_reg, 59 Register reg5 = no_reg,
60 Register reg6 = no_reg, 60 Register reg6 = no_reg,
61 Register reg7 = no_reg, 61 Register reg7 = no_reg,
62 Register reg8 = no_reg); 62 Register reg8 = no_reg);
63 #endif 63 #endif
64 64
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1652 masm->popfq(); \ 1652 masm->popfq(); \
1653 } \ 1653 } \
1654 masm-> 1654 masm->
1655 #else 1655 #else
1656 #define ACCESS_MASM(masm) masm-> 1656 #define ACCESS_MASM(masm) masm->
1657 #endif 1657 #endif
1658 1658
1659 } } // namespace v8::internal 1659 } } // namespace v8::internal
1660 1660
1661 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1661 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698