Index: src/code-stubs.h |
=================================================================== |
--- src/code-stubs.h (revision 7090) |
+++ src/code-stubs.h (working copy) |
@@ -167,7 +167,11 @@ |
// Returns a name for logging/debugging purposes. |
virtual const char* GetName() { return MajorName(MajorKey(), false); } |
-#ifdef DEBUG |
+ // Returns whether the code generated for this stub needs to be allocated as |
+ // a fixed (non-moveable) code object. |
+ virtual bool NeedsImmovableCode() { return false; } |
+ |
+ #ifdef DEBUG |
virtual void Print() { PrintF("%s\n", GetName()); } |
#endif |
@@ -623,6 +627,8 @@ |
Major MajorKey() { return CEntry; } |
int MinorKey(); |
+ bool NeedsImmovableCode(); |
+ |
const char* GetName() { return "CEntryStub"; } |
}; |