Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 19bd1654d46bf591c5f263a650936d546e3e558d..629f0ecaa7ef7980290bec583e24eb9e6db5e5b9 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7151,27 +7151,14 @@ class JSGlobalObject: public GlobalObject { |
// JavaScript. |
class JSBuiltinsObject: public GlobalObject { |
public: |
- // Accessors for the runtime routines written in JavaScript. |
- inline Object* javascript_builtin(Builtins::JavaScript id); |
- inline void set_javascript_builtin(Builtins::JavaScript id, Object* value); |
- |
DECLARE_CAST(JSBuiltinsObject) |
// Dispatched behavior. |
DECLARE_PRINTER(JSBuiltinsObject) |
DECLARE_VERIFIER(JSBuiltinsObject) |
- // Layout description. The size of the builtins object includes |
- // room for two pointers per runtime routine written in javascript |
- // (function and code object). |
- static const int kJSBuiltinsCount = Builtins::id_count; |
- static const int kJSBuiltinsOffset = GlobalObject::kHeaderSize; |
- static const int kSize = |
- GlobalObject::kHeaderSize + (kJSBuiltinsCount * kPointerSize); |
- |
- static int OffsetOfFunctionWithId(Builtins::JavaScript id) { |
- return kJSBuiltinsOffset + id * kPointerSize; |
- } |
+ // Layout description. |
+ static const int kSize = GlobalObject::kHeaderSize; |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSBuiltinsObject); |