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

Unified Diff: src/ic/ic.cc

Issue 953563002: Implement experimental exponentiation operator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add more tests and fix some bugs Created 5 years, 10 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/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index ef8e069fda99301efa30c9223af4253e221a7442..66678e6e61e09eecf8ddb071672d2e220b4b6b25 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -2744,6 +2744,9 @@ Builtins::JavaScript BinaryOpIC::TokenToJSBuiltin(Token::Value op) {
case Token::SHL:
return Builtins::SHL;
break;
+ case Token::EXP:
+ return Builtins::EXP;
+ break;
}
}
« src/compiler/typer.cc ('K') | « src/hydrogen.cc ('k') | src/ic/ic-state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698