Index: src/ic/keyed-store-generic.cc |
diff --git a/src/ic/keyed-store-generic.cc b/src/ic/keyed-store-generic.cc |
index e67b8f89d5f8a61b7f2a94ad23aa0592655c70f1..6d9b5cb538b996ec52fbfffe8693d6c765989d1b 100644 |
--- a/src/ic/keyed-store-generic.cc |
+++ b/src/ic/keyed-store-generic.cc |
@@ -862,7 +862,7 @@ void KeyedStoreGenericAssembler::EmitGenericPropertyStore( |
if (language_mode == STRICT) { |
Node* message = |
SmiConstant(Smi::FromInt(MessageTemplate::kStrictReadOnlyProperty)); |
- Node* type = Typeof(p->receiver, p->context); |
+ Node* type = Typeof(p->receiver); |
TailCallRuntime(Runtime::kThrowTypeError, p->context, message, p->name, |
type, p->receiver); |
} else { |