| Index: src/runtime/runtime-classes.cc
|
| diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc
|
| index 9f56c7949b1c123f7a23083efad72023bcd767fc..62eee669112c1c43d49508ad44216465a894f36d 100644
|
| --- a/src/runtime/runtime-classes.cc
|
| +++ b/src/runtime/runtime-classes.cc
|
| @@ -140,7 +140,7 @@ RUNTIME_FUNCTION(Runtime_DefineClass) {
|
|
|
| Handle<Map> map =
|
| isolate->factory()->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
|
| - map->SetPrototype(prototype_parent);
|
| + Map::SetPrototype(map, prototype_parent);
|
| map->SetConstructor(*constructor);
|
| Handle<JSObject> prototype = isolate->factory()->NewJSObjectFromMap(map);
|
|
|
|
|