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

Side by Side Diff: src/arm/constants-arm.cc

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/arm/constants-arm.h ('k') | src/arm/debug-arm.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/arm/constants-arm.h" 9 #include "src/arm/constants-arm.h"
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", 74 "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23",
75 "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31", 75 "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31",
76 "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", 76 "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7",
77 "d8", "d9", "d10", "d11", "d12", "d13", "d14", "d15", 77 "d8", "d9", "d10", "d11", "d12", "d13", "d14", "d15",
78 "d16", "d17", "d18", "d19", "d20", "d21", "d22", "d23", 78 "d16", "d17", "d18", "d19", "d20", "d21", "d22", "d23",
79 "d24", "d25", "d26", "d27", "d28", "d29", "d30", "d31" 79 "d24", "d25", "d26", "d27", "d28", "d29", "d30", "d31"
80 }; 80 };
81 81
82 82
83 const char* VFPRegisters::Name(int reg, bool is_double) { 83 const char* VFPRegisters::Name(int reg, bool is_double) {
84 ASSERT((0 <= reg) && (reg < kNumVFPRegisters)); 84 DCHECK((0 <= reg) && (reg < kNumVFPRegisters));
85 return names_[reg + (is_double ? kNumVFPSingleRegisters : 0)]; 85 return names_[reg + (is_double ? kNumVFPSingleRegisters : 0)];
86 } 86 }
87 87
88 88
89 int VFPRegisters::Number(const char* name, bool* is_double) { 89 int VFPRegisters::Number(const char* name, bool* is_double) {
90 for (int i = 0; i < kNumVFPRegisters; i++) { 90 for (int i = 0; i < kNumVFPRegisters; i++) {
91 if (strcmp(names_[i], name) == 0) { 91 if (strcmp(names_[i], name) == 0) {
92 if (i < kNumVFPSingleRegisters) { 92 if (i < kNumVFPSingleRegisters) {
93 *is_double = false; 93 *is_double = false;
94 return i; 94 return i;
(...skipping 27 matching lines...) Expand all
122 } 122 }
123 123
124 // No register with the requested name found. 124 // No register with the requested name found.
125 return kNoRegister; 125 return kNoRegister;
126 } 126 }
127 127
128 128
129 } } // namespace v8::internal 129 } } // namespace v8::internal
130 130
131 #endif // V8_TARGET_ARCH_ARM 131 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/constants-arm.h ('k') | src/arm/debug-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698