| Index: src/runtime/runtime-classes.cc
|
| diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc
|
| index 75e7974d9bd93e74332fda5353d0a3add98f1984..7520eef59d2bc1ccb589a4961759fb9198745559 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);
|
| Handle<JSObject> prototype = isolate->factory()->NewJSObjectFromMap(map);
|
|
|
| Handle<String> name_string = name->IsString()
|
|
|