Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index fe7802cc8784e9921fd8ee2611dc7d55d3b67998..bba23373f7e6800445922fec0e3067cd99cc7c64 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6019,26 +6019,6 @@ bool SharedFunctionInfo::OptimizedCodeMapIsCleared() const { |
} |
-// static |
-void SharedFunctionInfo::AddToOptimizedCodeMap( |
- Handle<SharedFunctionInfo> shared, Handle<Context> native_context, |
- Handle<Code> code, Handle<LiteralsArray> literals, BailoutId osr_ast_id) { |
- AddToOptimizedCodeMapInternal(shared, native_context, code, literals, |
- osr_ast_id); |
-} |
- |
- |
-// static |
-void SharedFunctionInfo::AddLiteralsToOptimizedCodeMap( |
- Handle<SharedFunctionInfo> shared, Handle<Context> native_context, |
- Handle<LiteralsArray> literals) { |
- Isolate* isolate = shared->GetIsolate(); |
- Handle<Oddball> undefined = isolate->factory()->undefined_value(); |
- AddToOptimizedCodeMapInternal(shared, native_context, undefined, literals, |
- BailoutId::None()); |
-} |
- |
- |
bool JSFunction::IsOptimized() { |
return code()->kind() == Code::OPTIMIZED_FUNCTION; |
} |