Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7c871816be769ad331cff1afe61d4882773e4444..1e40ac5d9c12f6b253f75530812d4f4bc41573ea 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5144,6 +5144,7 @@ ACCESSORS(Script, line_ends, Object, kLineEndsOffset) |
ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset) |
ACCESSORS_TO_SMI(Script, eval_from_instructions_offset, |
kEvalFrominstructionsOffsetOffset) |
+ACCESSORS(Script, shared_function_infos, Object, kSharedFunctionInfosOffset) |
ACCESSORS_TO_SMI(Script, flags, kFlagsOffset) |
ACCESSORS(Script, source_url, Object, kSourceUrlOffset) |
ACCESSORS(Script, source_mapping_url, Object, kSourceMappingUrlOffset) |
@@ -5238,6 +5239,8 @@ BOOL_ACCESSORS(SharedFunctionInfo, |
kHasDuplicateParameters) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) |
+BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, |
+ kNeverCompiled) |
#if V8_HOST_ARCH_32_BIT |
@@ -5452,6 +5455,8 @@ void SharedFunctionInfo::ReplaceCode(Code* value) { |
DCHECK(code()->gc_metadata() == NULL && value->gc_metadata() == NULL); |
set_code(value); |
+ |
+ if (is_compiled()) set_never_compiled(false); |
} |