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

Unified Diff: src/typing.h

Issue 1303843003: Don't allocate AstTyper with the zone allocator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revised Created 5 years, 4 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/hydrogen.cc ('k') | src/typing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typing.h
diff --git a/src/typing.h b/src/typing.h
index f3ead18f99646fa79febb4e5de88db5413e02daf..ccfb973437faa6f672ac1f1f0ffb29f895aa7516 100644
--- a/src/typing.h
+++ b/src/typing.h
@@ -19,17 +19,12 @@ namespace internal {
class AstTyper: public AstVisitor {
public:
- static void Run(CompilationInfo* info);
-
- void* operator new(size_t size, Zone* zone) { return zone->New(size); }
- void operator delete(void* pointer, Zone* zone) { }
- void operator delete(void* pointer) { }
+ explicit AstTyper(CompilationInfo* info);
+ void Run();
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
private:
- explicit AstTyper(CompilationInfo* info);
-
Effect ObservedOnStack(Object* value);
void ObserveTypesAtOsrEntry(IterationStatement* stmt);
« no previous file with comments | « src/hydrogen.cc ('k') | src/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698