Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index bef807eaf688cd14d0278f34d3a79277dcebdb5a..92f52b3d8a434a0d9147c1c600a79d5aff97cdab 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4807,6 +4807,8 @@ bool SharedFunctionInfo::is_classic_mode() { |
BOOL_GETTER(SharedFunctionInfo, compiler_hints, is_extended_mode, |
kExtendedModeFunction) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) |
+BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, inline_builtin, |
+ kInlineBuiltin) |
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
name_should_print_as_anonymous, |
kNameShouldPrintAsAnonymous) |
@@ -4867,6 +4869,7 @@ Code* SharedFunctionInfo::code() { |
void SharedFunctionInfo::set_code(Code* value, WriteBarrierMode mode) { |
+ ASSERT(value->kind() != Code::OPTIMIZED_FUNCTION); |
WRITE_FIELD(this, kCodeOffset, value); |
CONDITIONAL_WRITE_BARRIER(value->GetHeap(), this, kCodeOffset, value, mode); |
} |