Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2fb23342ee7f4448bd8facbfb015a000bc0cadbc..80ea3b7a20f93d0cf7a042e6eaba7ebee6daf0f2 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5946,7 +5946,7 @@ |
this->type() != TYPE_WASM) |
SMI_ACCESSORS_CHECKED(Script, eval_from_position, kEvalFromPositionOffset, |
this->type() != TYPE_WASM) |
-ACCESSORS(Script, shared_function_infos, FixedArray, kSharedFunctionInfosOffset) |
+ACCESSORS(Script, shared_function_infos, Object, kSharedFunctionInfosOffset) |
SMI_ACCESSORS(Script, flags, kFlagsOffset) |
ACCESSORS(Script, source_url, Object, kSourceUrlOffset) |
ACCESSORS(Script, source_mapping_url, Object, kSourceMappingUrlOffset) |
@@ -6062,6 +6062,8 @@ |
kHasDuplicateParameters) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) |
+BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, |
+ kNeverCompiled) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_declaration, |
kIsDeclaration) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, marked_for_tier_up, |
@@ -6282,6 +6284,8 @@ |
#endif // DEBUG |
set_code(value); |
+ |
+ if (is_compiled()) set_never_compiled(false); |
} |
bool SharedFunctionInfo::IsInterpreted() const { |