Index: src/crankshaft/lithium-allocator.h |
diff --git a/src/crankshaft/lithium-allocator.h b/src/crankshaft/lithium-allocator.h |
index b648bd80c6bac85c22960cbfad77485619854a14..ce0e56560b4cf343b26774fe23314726b3b13371 100644 |
--- a/src/crankshaft/lithium-allocator.h |
+++ b/src/crankshaft/lithium-allocator.h |
@@ -6,6 +6,7 @@ |
#define V8_CRANKSHAFT_LITHIUM_ALLOCATOR_H_ |
#include "src/allocation.h" |
+#include "src/base/compiler-specific.h" |
#include "src/crankshaft/compilation-phase.h" |
#include "src/crankshaft/lithium.h" |
#include "src/zone.h" |
@@ -327,7 +328,7 @@ class LAllocator BASE_EMBEDDED { |
public: |
LAllocator(int first_virtual_register, HGraph* graph); |
- static void TraceAlloc(const char* msg, ...); |
+ static PRINTF_FORMAT(1, 2) void TraceAlloc(const char* msg, ...); |
// Checks whether the value of a given virtual register is tagged. |
bool HasTaggedValue(int virtual_register) const; |