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

Unified Diff: src/hydrogen.cc

Issue 953563002: Implement experimental exponentiation operator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use Number() instead of OrderedNumber() to include NaN 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
« no previous file with comments | « src/full-codegen.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 9d5fe3c4092cfa0cd5e66a829deee103c3dda9e9..f36dbfa1b9be4baf898c543346925842879aeb71 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -10606,6 +10606,9 @@ HValue* HGraphBuilder::BuildBinaryOperation(
case Token::SHL:
instr = AddUncasted<HShl>(left, right);
break;
+ case Token::EXP:
+ instr = AddUncasted<HPower>(left, right);
+ break;
default:
UNREACHABLE();
}
« no previous file with comments | « src/full-codegen.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698