| Index: src/runtime/runtime-classes.cc
|
| diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc
|
| index b19fa6af9b95d1a4ab2f4fc48d588655c055f440..00567d432330e0e329e1ffd6b15b0c690f7c103d 100644
|
| --- a/src/runtime/runtime-classes.cc
|
| +++ b/src/runtime/runtime-classes.cc
|
| @@ -98,7 +98,7 @@ RUNTIME_FUNCTION(Runtime_DefineClass) {
|
|
|
| Handle<Map> map =
|
| isolate->factory()->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
|
| - map->set_prototype(*prototype_parent);
|
| + map->SetPrototype(prototype_parent);
|
| map->set_constructor(*constructor);
|
| Handle<JSObject> prototype = isolate->factory()->NewJSObjectFromMap(map);
|
|
|
|
|