Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index dbddbefbae927a30708bca7217cc6cab06057cd6..1e132d99e21e177e3a850f000c2d092ff7463851 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -142,7 +142,7 @@ static MaybeHandle<Object> DefineClass(Isolate* isolate, Handle<Object> name, |
constructor->shared()->set_name(*name_string); |
if (!super_class->IsTheHole()) { |
- Handle<Code> stub(isolate->builtins()->JSConstructStubForDerived()); |
+ Handle<Code> stub(isolate->builtins()->JSBuiltinsConstructStub()); |
Igor Sheludko
2015/11/18 09:16:07
Please add a comment about why do we use JSBuiltin
Toon Verwaest
2015/11/18 13:24:57
Done.
|
constructor->shared()->set_construct_stub(*stub); |
} |