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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index 763f1793f0c11f37231800b574f22320cb0ca05c..ecf83c54d693de744ccd8b106f0a37cd10b97012 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -171,9 +171,13 @@ enum BuiltinExtraArguments {
V(COMPARE, 2) \
V(ADD, 1) \
V(SUB, 1) \
+ V(SUB_STRONG, 1) \
V(MUL, 1) \
+ V(MUL_STRONG, 1) \
V(DIV, 1) \
+ V(DIV_STRONG, 1) \
V(MOD, 1) \
+ V(MOD_STRONG, 1) \
V(BIT_OR, 1) \
V(BIT_AND, 1) \
V(BIT_XOR, 1) \
« 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