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

Side by Side Diff: src/arm64/regexp-macro-assembler-arm64.h

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/macro-assembler-arm64-inl.h ('k') | src/arm64/regexp-macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 inline void Pop(Register target); 224 inline void Pop(Register target);
225 225
226 // This state indicates where the register actually is. 226 // This state indicates where the register actually is.
227 enum RegisterState { 227 enum RegisterState {
228 STACKED, // Resides in memory. 228 STACKED, // Resides in memory.
229 CACHED_LSW, // Least Significant Word of a 64 bit hardware register. 229 CACHED_LSW, // Least Significant Word of a 64 bit hardware register.
230 CACHED_MSW // Most Significant Word of a 64 bit hardware register. 230 CACHED_MSW // Most Significant Word of a 64 bit hardware register.
231 }; 231 };
232 232
233 RegisterState GetRegisterState(int register_index) { 233 RegisterState GetRegisterState(int register_index) {
234 ASSERT(register_index >= 0); 234 DCHECK(register_index >= 0);
235 if (register_index >= kNumCachedRegisters) { 235 if (register_index >= kNumCachedRegisters) {
236 return STACKED; 236 return STACKED;
237 } else { 237 } else {
238 if ((register_index % 2) == 0) { 238 if ((register_index % 2) == 0) {
239 return CACHED_LSW; 239 return CACHED_LSW;
240 } else { 240 } else {
241 return CACHED_MSW; 241 return CACHED_MSW;
242 } 242 }
243 } 243 }
244 } 244 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 Label check_preempt_label_; 284 Label check_preempt_label_;
285 Label stack_overflow_label_; 285 Label stack_overflow_label_;
286 }; 286 };
287 287
288 #endif // V8_INTERPRETED_REGEXP 288 #endif // V8_INTERPRETED_REGEXP
289 289
290 290
291 }} // namespace v8::internal 291 }} // namespace v8::internal
292 292
293 #endif // V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 293 #endif // V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64-inl.h ('k') | src/arm64/regexp-macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698