Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 2aceedbd95de7822011d2444e3f9af6b9c995c24..212c4efbf2d39a86f278b7c0d76de25f0acc7778 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1570,18 +1570,16 @@ bool CompilationPhase::ShouldProduceTraceOutput() const { |
CompilationInfoWithZone::CompilationInfoWithZone(Handle<Script> script) |
- : CompilationInfo((new ParseInfo(&zone_))->InitializeFromScript(script)) {} |
+ : CompilationInfo(new ParseInfo(&zone_, script)) {} |
CompilationInfoWithZone::CompilationInfoWithZone(Handle<JSFunction> function) |
- : CompilationInfo( |
- (new ParseInfo(&zone_))->InitializeFromJSFunction(function)) {} |
+ : CompilationInfo(new ParseInfo(&zone_, function)) {} |
CompilationInfoWithZone::CompilationInfoWithZone( |
Handle<SharedFunctionInfo> shared_info) |
- : CompilationInfo((new ParseInfo(&zone_)) |
- ->InitializeFromSharedFunctionInfo(shared_info)) {} |
+ : CompilationInfo(new ParseInfo(&zone_, shared_info)) {} |
CompilationInfoWithZone::~CompilationInfoWithZone() { |