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

Unified Diff: src/interpreter/interpreter-assembler.cc

Issue 2861983002: [ignition] Optimize JSGenerator creation (Closed)
Patch Set: Now with debugger test fixes. Created 3 years, 7 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/interpreter/interpreter-assembler.cc
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc
index b65c7c7501a45466081797fde5fb3e3df869f200..217fdc6a3b27e972b0ac447d125e0062a75b1e10 100644
--- a/src/interpreter/interpreter-assembler.cc
+++ b/src/interpreter/interpreter-assembler.cc
@@ -748,7 +748,8 @@ Node* InterpreterAssembler::CallJS(Node* function, Node* context,
ConvertReceiverMode receiver_mode,
TailCallMode tail_call_mode) {
DCHECK(Bytecodes::MakesCallAlongCriticalPath(bytecode_));
- DCHECK(Bytecodes::IsCallOrConstruct(bytecode_));
+ DCHECK(Bytecodes::IsCallOrConstruct(bytecode_) ||
+ bytecode_ == Bytecode::kInvokeIntrinsic);
rmcilroy 2017/05/05 09:44:11 please also remove this, InvokeIntrinsic shouldn't
mvstanton 2017/05/05 11:50:26 Drat, it does so, in this call stack in bytecode h
rmcilroy 2017/05/05 13:50:32 Ahh yeah, I forgot we had the Runtime::kInlineCall
DCHECK_EQ(Bytecodes::GetReceiverMode(bytecode_), receiver_mode);
Callable callable = CodeFactory::InterpreterPushArgsThenCall(
isolate(), receiver_mode, tail_call_mode,

Powered by Google App Engine
This is Rietveld 408576698