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

Side by Side Diff: src/builtins.h

Issue 1102923002: [strong] Disallow implicit conversions for bitwise ops, shifts (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback 2 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 | « no previous file | src/compiler/js-typed-lowering.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 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 V(ADD, 1) \ 172 V(ADD, 1) \
173 V(SUB, 1) \ 173 V(SUB, 1) \
174 V(SUB_STRONG, 1) \ 174 V(SUB_STRONG, 1) \
175 V(MUL, 1) \ 175 V(MUL, 1) \
176 V(MUL_STRONG, 1) \ 176 V(MUL_STRONG, 1) \
177 V(DIV, 1) \ 177 V(DIV, 1) \
178 V(DIV_STRONG, 1) \ 178 V(DIV_STRONG, 1) \
179 V(MOD, 1) \ 179 V(MOD, 1) \
180 V(MOD_STRONG, 1) \ 180 V(MOD_STRONG, 1) \
181 V(BIT_OR, 1) \ 181 V(BIT_OR, 1) \
182 V(BIT_OR_STRONG, 1) \
182 V(BIT_AND, 1) \ 183 V(BIT_AND, 1) \
184 V(BIT_AND_STRONG, 1) \
183 V(BIT_XOR, 1) \ 185 V(BIT_XOR, 1) \
186 V(BIT_XOR_STRONG, 1) \
184 V(SHL, 1) \ 187 V(SHL, 1) \
188 V(SHL_STRONG, 1) \
185 V(SAR, 1) \ 189 V(SAR, 1) \
190 V(SAR_STRONG, 1) \
186 V(SHR, 1) \ 191 V(SHR, 1) \
192 V(SHR_STRONG, 1) \
187 V(DELETE, 2) \ 193 V(DELETE, 2) \
188 V(IN, 1) \ 194 V(IN, 1) \
189 V(INSTANCE_OF, 1) \ 195 V(INSTANCE_OF, 1) \
190 V(FILTER_KEY, 1) \ 196 V(FILTER_KEY, 1) \
191 V(CALL_NON_FUNCTION, 0) \ 197 V(CALL_NON_FUNCTION, 0) \
192 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ 198 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \
193 V(CALL_FUNCTION_PROXY, 1) \ 199 V(CALL_FUNCTION_PROXY, 1) \
194 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ 200 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \
195 V(TO_OBJECT, 0) \ 201 V(TO_OBJECT, 0) \
196 V(TO_NUMBER, 0) \ 202 V(TO_NUMBER, 0) \
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 359
354 friend class BuiltinFunctionTable; 360 friend class BuiltinFunctionTable;
355 friend class Isolate; 361 friend class Isolate;
356 362
357 DISALLOW_COPY_AND_ASSIGN(Builtins); 363 DISALLOW_COPY_AND_ASSIGN(Builtins);
358 }; 364 };
359 365
360 } } // namespace v8::internal 366 } } // namespace v8::internal
361 367
362 #endif // V8_BUILTINS_H_ 368 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698