Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index d100e619917334b3bd4ae7fdf65e9d2510714f5d..76eb076a8dffb74b1a2790cc9eeac83a1777739b 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -2029,15 +2029,6 @@ Handle<Code> CallStubCompiler::GetCode(Handle<JSFunction> function) { |
} |
-Handle<Code> ConstructStubCompiler::GetCode() { |
- Code::Flags flags = Code::ComputeFlags(Code::STUB); |
- Handle<Code> code = GetCodeWithFlags(flags, "ConstructStub"); |
- PROFILE(isolate(), CodeCreateEvent(Logger::STUB_TAG, *code, "ConstructStub")); |
- GDBJIT(AddCode(GDBJITInterface::STUB, "ConstructStub", *code)); |
- return code; |
-} |
- |
- |
CallOptimization::CallOptimization(LookupResult* lookup) { |
if (lookup->IsFound() && |
lookup->IsCacheable() && |