Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 40549d9631da118cb6892bdf04a42f33458b0ab7..0efdd67d27b800c38372d6948c0f3c9a219e026d 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1920,8 +1920,8 @@ void BytecodeGraphBuilder::BuildDelete(LanguageMode language_mode) { |
Node* key = environment()->LookupAccumulator(); |
Node* object = |
environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); |
- Node* node = |
- NewNode(javascript()->DeleteProperty(language_mode), object, key); |
+ Node* mode = jsgraph()->Constant(static_cast<int32_t>(language_mode)); |
+ Node* node = NewNode(javascript()->DeleteProperty(), object, key, mode); |
environment()->BindAccumulator(node, Environment::kAttachFrameState); |
} |