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

Side by Side Diff: src/builtins.h

Issue 1092353002: [strong] Disallow implicit conversions for binary arithmetic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback 5 Created 5 years, 8 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
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(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \ 164 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \
165 DEBUG_BREAK) 165 DEBUG_BREAK)
166 166
167 // Define list of builtins implemented in JavaScript. 167 // Define list of builtins implemented in JavaScript.
168 #define BUILTINS_LIST_JS(V) \ 168 #define BUILTINS_LIST_JS(V) \
169 V(EQUALS, 1) \ 169 V(EQUALS, 1) \
170 V(STRICT_EQUALS, 1) \ 170 V(STRICT_EQUALS, 1) \
171 V(COMPARE, 2) \ 171 V(COMPARE, 2) \
172 V(ADD, 1) \ 172 V(ADD, 1) \
173 V(SUB, 1) \ 173 V(SUB, 1) \
174 V(SUB_STRONG, 1) \
174 V(MUL, 1) \ 175 V(MUL, 1) \
176 V(MUL_STRONG, 1) \
175 V(DIV, 1) \ 177 V(DIV, 1) \
178 V(DIV_STRONG, 1) \
176 V(MOD, 1) \ 179 V(MOD, 1) \
180 V(MOD_STRONG, 1) \
177 V(BIT_OR, 1) \ 181 V(BIT_OR, 1) \
178 V(BIT_AND, 1) \ 182 V(BIT_AND, 1) \
179 V(BIT_XOR, 1) \ 183 V(BIT_XOR, 1) \
180 V(SHL, 1) \ 184 V(SHL, 1) \
181 V(SAR, 1) \ 185 V(SAR, 1) \
182 V(SHR, 1) \ 186 V(SHR, 1) \
183 V(DELETE, 2) \ 187 V(DELETE, 2) \
184 V(IN, 1) \ 188 V(IN, 1) \
185 V(INSTANCE_OF, 1) \ 189 V(INSTANCE_OF, 1) \
186 V(FILTER_KEY, 1) \ 190 V(FILTER_KEY, 1) \
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 353
350 friend class BuiltinFunctionTable; 354 friend class BuiltinFunctionTable;
351 friend class Isolate; 355 friend class Isolate;
352 356
353 DISALLOW_COPY_AND_ASSIGN(Builtins); 357 DISALLOW_COPY_AND_ASSIGN(Builtins);
354 }; 358 };
355 359
356 } } // namespace v8::internal 360 } } // namespace v8::internal
357 361
358 #endif // V8_BUILTINS_H_ 362 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/code-factory.h » ('j') | src/ic/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698