Index: src/compiler.h |
=================================================================== |
--- src/compiler.h (revision 1949) |
+++ src/compiler.h (working copy) |
@@ -28,9 +28,7 @@ |
#ifndef V8_COMPILER_H_ |
#define V8_COMPILER_H_ |
-#include "frame-element.h" |
#include "parser.h" |
-#include "zone.h" |
namespace v8 { namespace internal { |
@@ -71,19 +69,6 @@ |
static bool CompileLazy(Handle<SharedFunctionInfo> shared, int loop_nesting); |
}; |
- |
-// During compilation we need a global list of handles to constants |
-// for frame elements. When the zone gets deleted, we make sure to |
-// clear this list of handles as well. |
-class CompilationZoneScope : public ZoneScope { |
- public: |
- CompilationZoneScope() : ZoneScope(DELETE_ON_EXIT) { } |
- virtual ~CompilationZoneScope() { |
- if (ShouldDeleteOnExit()) FrameElement::ClearConstantList(); |
- } |
-}; |
- |
- |
} } // namespace v8::internal |
#endif // V8_COMPILER_H_ |