Index: src/code-stubs.h |
=================================================================== |
--- src/code-stubs.h (revision 469) |
+++ src/code-stubs.h (working copy) |
@@ -44,6 +44,7 @@ |
UnarySub, |
RevertToNumber, |
ToBoolean, |
+ Instanceof, |
CounterOp, |
ArgumentsAccess, |
Runtime, |
@@ -82,7 +83,7 @@ |
virtual int MinorKey() = 0; |
// Returns a name for logging/debugging purposes. |
- virtual const char* GetName() = 0; |
+ virtual const char* GetName() { return MajorName(MajorKey()); } |
#ifdef DEBUG |
virtual void Print() { PrintF("%s\n", GetName()); } |