Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c3344ec98759a28b767e29f5ba440065f210fe21..8d3326826bc4f0f53c40c1269dc90d019a118519 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7703,10 +7703,6 @@ class JSBuiltinsObject: public GlobalObject { |
inline Object* javascript_builtin(Builtins::JavaScript id); |
inline void set_javascript_builtin(Builtins::JavaScript id, Object* value); |
- // Accessors for code of the runtime routines written in JavaScript. |
- inline Code* javascript_builtin_code(Builtins::JavaScript id); |
- inline void set_javascript_builtin_code(Builtins::JavaScript id, Code* value); |
- |
DECLARE_CAST(JSBuiltinsObject) |
// Dispatched behavior. |
@@ -7718,19 +7714,13 @@ class JSBuiltinsObject: public GlobalObject { |
// (function and code object). |
static const int kJSBuiltinsCount = Builtins::id_count; |
static const int kJSBuiltinsOffset = GlobalObject::kHeaderSize; |
- static const int kJSBuiltinsCodeOffset = |
- GlobalObject::kHeaderSize + (kJSBuiltinsCount * kPointerSize); |
static const int kSize = |
- kJSBuiltinsCodeOffset + (kJSBuiltinsCount * kPointerSize); |
+ GlobalObject::kHeaderSize + (kJSBuiltinsCount * kPointerSize); |
static int OffsetOfFunctionWithId(Builtins::JavaScript id) { |
return kJSBuiltinsOffset + id * kPointerSize; |
} |
- static int OffsetOfCodeWithId(Builtins::JavaScript id) { |
- return kJSBuiltinsCodeOffset + id * kPointerSize; |
- } |
- |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSBuiltinsObject); |
}; |