Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 73b2d4a06ae3800eba8a794ef958c41e52edb98b..25bca241521ccf5c4fc51820e72d9a76a1850979 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6006,11 +6006,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); |