Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: src/compiler.h

Issue 115350: Revert revision 1949. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698