Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: src/objects-inl.h

Issue 1753213002: [interpreter] Make optimized code map more flexible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « src/objects.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698