Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index deb33653f7844c70ae9d848f5a59e62cbbe43989..1e41a5a054534e87de32ac819c02c5c94ded4553 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); |
} |