Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2ce845adfce09bb2c07b075c90d7d49f55aee80b..72fbe45a88018c53cef105b9f8349932d77f051f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6311,20 +6311,6 @@ void JSBuiltinsObject::set_javascript_builtin(Builtins::JavaScript id, |
} |
-Code* JSBuiltinsObject::javascript_builtin_code(Builtins::JavaScript id) { |
- DCHECK(id < kJSBuiltinsCount); // id is unsigned. |
- return Code::cast(READ_FIELD(this, OffsetOfCodeWithId(id))); |
-} |
- |
- |
-void JSBuiltinsObject::set_javascript_builtin_code(Builtins::JavaScript id, |
- Code* value) { |
- DCHECK(id < kJSBuiltinsCount); // id is unsigned. |
- WRITE_FIELD(this, OffsetOfCodeWithId(id), value); |
- DCHECK(!GetHeap()->InNewSpace(value)); |
-} |
- |
- |
ACCESSORS(JSProxy, handler, Object, kHandlerOffset) |
ACCESSORS(JSProxy, hash, Object, kHashOffset) |
ACCESSORS(JSFunctionProxy, call_trap, Object, kCallTrapOffset) |