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

Unified Diff: src/interpreter/bytecodes.cc

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Convert GetSuperConstructor to a new interpreter bytecode Created 4 years, 1 month 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/interpreter/bytecodes.cc
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc
index c58f4685a2d3d03bf344ea350366be359ba8c148..0d0345a8ce0fb4eb588e2fa4118f521582123a86 100644
--- a/src/interpreter/bytecodes.cc
+++ b/src/interpreter/bytecodes.cc
@@ -219,6 +219,7 @@ bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) {
case Bytecode::kInc:
case Bytecode::kDec:
case Bytecode::kTypeOf:
+ case Bytecode::kGetSuperConstructor:
rmcilroy 2016/11/23 21:55:37 Remove this if you add the register as an operand.
case Bytecode::kCall:
case Bytecode::kNew:
return true;

Powered by Google App Engine
This is Rietveld 408576698