Index: src/lithium-allocator.h |
diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h |
index 552ebdd1dedb8b3aaa8fa6a161dedc4068efb5b2..afcf2dac37a186c6f7c474c2ac2ec24c65f69391 100644 |
--- a/src/lithium-allocator.h |
+++ b/src/lithium-allocator.h |
@@ -646,6 +646,20 @@ class LAllocator BASE_EMBEDDED { |
}; |
+class LAllocatorPhase : public CompilationPhase { |
+ public: |
+ LAllocatorPhase(const char* name, LAllocator* allocator) |
+ : CompilationPhase(name, allocator->isolate(), allocator->zone()), |
+ allocator_(allocator) { } |
+ ~LAllocatorPhase(); |
+ |
+ private: |
+ LAllocator* allocator_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); |
+}; |
+ |
+ |
} } // namespace v8::internal |
#endif // V8_LITHIUM_ALLOCATOR_H_ |