Index: src/code-stubs.h |
=================================================================== |
--- src/code-stubs.h (revision 3132) |
+++ src/code-stubs.h (working copy) |
@@ -75,7 +75,6 @@ |
#define DEF_ENUM(name) name, |
CODE_STUB_LIST(DEF_ENUM) |
#undef DEF_ENUM |
- NoCache, // marker for stubs that do custom caching |
NUMBER_OF_IDS |
}; |
@@ -92,12 +91,6 @@ |
virtual ~CodeStub() {} |
- // Override these methods to provide a custom caching mechanism for |
- // an individual type of code stub. |
- virtual bool GetCustomCache(Code** code_out) { return false; } |
- virtual void SetCustomCache(Code* value) { } |
- virtual bool has_custom_cache() { return false; } |
- |
protected: |
static const int kMajorBits = 5; |
static const int kMinorBits = kBitsPerInt - kSmiTagSize - kMajorBits; |