Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index c508dd28db3b2d7d3784185563bd270497a9b1cd..81a0c558d071b3542e2968bfe9dbc682c9fc4480 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5138,6 +5138,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) |
@@ -5232,6 +5233,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 |
@@ -5446,6 +5449,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); |
} |