Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index a514b946496fa5f46b0e251bed54efc1c7488abc..735c77a2eca0b8e6ec227a5f488b630ce3a563ff 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2179,7 +2179,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_FunctionSetReadOnlyPrototype) { |
Map* new_map; |
MaybeObject* maybe_map = |
function->map()->CopyReplaceDescriptor( |
- &new_desc, index, OMIT_TRANSITION); |
+ instance_desc, &new_desc, index, OMIT_TRANSITION); |
if (!maybe_map->To(&new_map)) return maybe_map; |
function->set_map(new_map); |