Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 16267f64e0e6c05f1213817fab5125d86f98b09f..d502f14cd2e775b772bf7b5fa4a5cf6b623d38bf 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -100,7 +100,7 @@ class CodeStub BASE_EMBEDDED { |
static int MinorKeyFromKey(uint32_t key) { |
return MinorKeyBits::decode(key); |
}; |
- static const char* MajorName(Major major_key); |
+ static const char* MajorName(Major major_key, bool allow_unknown_keys); |
virtual ~CodeStub() {} |
@@ -138,7 +138,7 @@ class CodeStub BASE_EMBEDDED { |
virtual InLoopFlag InLoop() { return NOT_IN_LOOP; } |
// Returns a name for logging/debugging purposes. |
- virtual const char* GetName() { return MajorName(MajorKey()); } |
+ virtual const char* GetName() { return MajorName(MajorKey(), false); } |
#ifdef DEBUG |
virtual void Print() { PrintF("%s\n", GetName()); } |