Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 20a12b6dd468048b1fb8fe7941a257a75a3c4626..4840b2de1963d869e3265036df57ff095be9bfde 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5667,8 +5667,7 @@ void SharedFunctionInfo::set_scope_info(ScopeInfo* value, |
bool SharedFunctionInfo::is_compiled() { |
- return code() != |
- GetIsolate()->builtins()->builtin(Builtins::kCompileUnoptimized); |
+ return code() != GetIsolate()->builtins()->builtin(Builtins::kCompileLazy); |
} |
@@ -5942,8 +5941,7 @@ bool JSFunction::should_have_prototype() { |
bool JSFunction::is_compiled() { |
- return code() != |
- GetIsolate()->builtins()->builtin(Builtins::kCompileUnoptimized); |
+ return code() != GetIsolate()->builtins()->builtin(Builtins::kCompileLazy); |
} |