| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index 5bec7e05f913be19ef8526f76e86580b99041115..a4483bab9a45c3db38675b94a5973d5c5083d965 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -84,6 +84,14 @@ Code::Kind CodeStub::GetCodeKind() const {
|
| }
|
|
|
|
|
| +Handle<Code> CodeStub::GetCodeCopyFromTemplate(Isolate* isolate) {
|
| + Handle<Code> ic = GetCode(isolate);
|
| + ic = isolate->factory()->CopyCode(ic);
|
| + RecordCodeGeneration(*ic, isolate);
|
| + return ic;
|
| +}
|
| +
|
| +
|
| Handle<Code> PlatformCodeStub::GenerateCode() {
|
| Isolate* isolate = Isolate::Current();
|
| Factory* factory = isolate->factory();
|
|
|