Chromium Code Reviews

Unified Diff: src/objects-inl.h

Issue 1146423002: Remove obsolete JSFunction::IsOptimizable predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix assertion. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/objects.cc ('k') | src/runtime-profiler.cc » ('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 fea849afaa242b3a4f25c3ca68fe8fac720f2b79..aa82b83915ca3f169cfb9a280fa4789f04c978bf 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6022,11 +6022,6 @@ bool JSFunction::IsOptimized() {
}
-bool JSFunction::IsOptimizable() {
- return code()->kind() == Code::FUNCTION && !shared()->optimization_disabled();
-}
-
-
bool JSFunction::IsMarkedForOptimization() {
return code() == GetIsolate()->builtins()->builtin(
Builtins::kCompileOptimized);
« no previous file with comments | « src/objects.cc ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine