Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 4fc9ffe97260338f67fb1c7dbb6a8b3bc38b9d6f..a77fc8ea4ab41b1e34c7bacf884dc6e46f8536ac 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -299,24 +299,6 @@ class Compiler : public AllStatic { |
}; |
-// 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(Isolate* isolate, ZoneScopeMode mode) |
- : ZoneScope(isolate, mode) {} |
- |
- virtual ~CompilationZoneScope() { |
- if (ShouldDeleteOnExit()) { |
- Isolate* isolate = Isolate::Current(); |
- isolate->frame_element_constant_list()->Clear(); |
- isolate->result_constant_list()->Clear(); |
- } |
- } |
-}; |
- |
- |
} } // namespace v8::internal |
#endif // V8_COMPILER_H_ |