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

Side by Side Diff: src/builtins.h

Issue 1130283002: [strong] Disallow implicit conversions for comparison (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 years, 7 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
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/code-factory.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \ 164 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \
165 DEBUG_BREAK) \ 165 DEBUG_BREAK) \
166 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \ 166 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \
167 DEBUG_BREAK) 167 DEBUG_BREAK)
168 168
169 // Define list of builtins implemented in JavaScript. 169 // Define list of builtins implemented in JavaScript.
170 #define BUILTINS_LIST_JS(V) \ 170 #define BUILTINS_LIST_JS(V) \
171 V(EQUALS, 1) \ 171 V(EQUALS, 1) \
172 V(STRICT_EQUALS, 1) \ 172 V(STRICT_EQUALS, 1) \
173 V(COMPARE, 2) \ 173 V(COMPARE, 2) \
174 V(COMPARE_STRONG, 2) \
174 V(ADD, 1) \ 175 V(ADD, 1) \
175 V(ADD_STRONG, 1) \ 176 V(ADD_STRONG, 1) \
176 V(SUB, 1) \ 177 V(SUB, 1) \
177 V(SUB_STRONG, 1) \ 178 V(SUB_STRONG, 1) \
178 V(MUL, 1) \ 179 V(MUL, 1) \
179 V(MUL_STRONG, 1) \ 180 V(MUL_STRONG, 1) \
180 V(DIV, 1) \ 181 V(DIV, 1) \
181 V(DIV_STRONG, 1) \ 182 V(DIV_STRONG, 1) \
182 V(MOD, 1) \ 183 V(MOD, 1) \
183 V(MOD_STRONG, 1) \ 184 V(MOD_STRONG, 1) \
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 366
366 friend class BuiltinFunctionTable; 367 friend class BuiltinFunctionTable;
367 friend class Isolate; 368 friend class Isolate;
368 369
369 DISALLOW_COPY_AND_ASSIGN(Builtins); 370 DISALLOW_COPY_AND_ASSIGN(Builtins);
370 }; 371 };
371 372
372 } } // namespace v8::internal 373 } } // namespace v8::internal
373 374
374 #endif // V8_BUILTINS_H_ 375 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698