Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index dd36a53929aa18c5cd0207d3db7561e1196cfd41..107297c944701f3e3570145168d11b66b30bc3a7 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -1620,7 +1620,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetPrototype) { |
Handle<Object> new_value( |
GetPrototypeSkipHiddenPrototypes(isolate, *obj), isolate); |
if (!new_value->SameValue(*old_value)) { |
- JSObject::EnqueueChangeRecord(obj, "prototype", |
+ JSObject::EnqueueChangeRecord(obj, "setPrototype", |
isolate->factory()->proto_string(), |
old_value); |
} |