Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 1717a5f4b59a8cba4db473b0e0634e9c9c437b93..df2ffc5a007a6960af098debff9d279bee34ea7e 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4946,7 +4946,7 @@ void SharedFunctionInfo::set_scope_info(ScopeInfo* value, |
bool SharedFunctionInfo::is_compiled() { |
return code() != |
- GetIsolate()->builtins()->builtin(Builtins::kLazyCompile); |
+ GetIsolate()->builtins()->builtin(Builtins::kCompileUnoptimized); |
} |
@@ -5069,20 +5069,21 @@ bool JSFunction::IsOptimizable() { |
} |
-bool JSFunction::IsMarkedForLazyRecompilation() { |
- return code() == GetIsolate()->builtins()->builtin(Builtins::kLazyRecompile); |
+bool JSFunction::IsMarkedForOptimization() { |
+ return code() == GetIsolate()->builtins()->builtin( |
+ Builtins::kCompileOptimized); |
} |
-bool JSFunction::IsMarkedForConcurrentRecompilation() { |
+bool JSFunction::IsMarkedForConcurrentOptimization() { |
return code() == GetIsolate()->builtins()->builtin( |
- Builtins::kConcurrentRecompile); |
+ Builtins::kCompileOptimizedConcurrent); |
} |
-bool JSFunction::IsInRecompileQueue() { |
+bool JSFunction::IsInOptimizationQueue() { |
return code() == GetIsolate()->builtins()->builtin( |
- Builtins::kInRecompileQueue); |
+ Builtins::kInOptimizationQueue); |
} |
@@ -5192,7 +5193,8 @@ bool JSFunction::should_have_prototype() { |
bool JSFunction::is_compiled() { |
- return code() != GetIsolate()->builtins()->builtin(Builtins::kLazyCompile); |
+ return code() != |
+ GetIsolate()->builtins()->builtin(Builtins::kCompileUnoptimized); |
} |