Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index baf9e889639af3b7599a528e4222ac02cdb30f37..e7ae53d1ade18dc7fa40423d364f96f5d4e8626a 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -640,7 +640,6 @@ class V8_EXPORT_PRIVATE Bytecodes final { |
bytecode == Bytecode::kConstruct || |
bytecode == Bytecode::kCallWithSpread || |
bytecode == Bytecode::kConstructWithSpread || |
- bytecode == Bytecode::kInvokeIntrinsic || |
bytecode == Bytecode::kCallJSRuntime; |
} |
@@ -752,7 +751,8 @@ class V8_EXPORT_PRIVATE Bytecodes final { |
// Returns the receiver mode of the given call bytecode. |
static ConvertReceiverMode GetReceiverMode(Bytecode bytecode) { |
- DCHECK(IsCallOrConstruct(bytecode)); |
+ DCHECK(IsCallOrConstruct(bytecode) || |
+ bytecode == Bytecode::kInvokeIntrinsic); |
switch (bytecode) { |
case Bytecode::kCallProperty: |
case Bytecode::kCallProperty0: |