Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 97ba466bd5a66f6809589e977fc020c9084ba239..2d94ec978e098da76d89aedb2b41c48d1d5b2d5d 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -84,14 +84,6 @@ 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(); |