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

Unified Diff: src/compiler/opcodes.h

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/compiler/opcodes.h
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
index 31ef304bbacfda421a7358450bb1cb9f74789865..e1812e5fae40ad6b963fa9757c78453176119bcc 100644
--- a/src/compiler/opcodes.h
+++ b/src/compiler/opcodes.h
@@ -81,7 +81,8 @@
V(JSSubtract) \
V(JSMultiply) \
V(JSDivide) \
- V(JSModulus)
+ V(JSModulus) \
+ V(JSExponentiate)
#define JS_SIMPLE_BINOP_LIST(V) \
JS_COMPARE_BINOP_LIST(V) \
@@ -152,6 +153,7 @@
V(NumberMultiply) \
V(NumberDivide) \
V(NumberModulus) \
+ V(NumberExponentiate) \
Michael Starzinger 2015/02/24 14:09:03 This opcode is never used.
V(NumberToInt32) \
V(NumberToUint32) \
V(PlainPrimitiveToNumber) \
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/typer.cc » ('j') | src/compiler/typer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698