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

Side by Side Diff: src/compiler/pipeline.cc

Issue 807693003: [turbofan] Unify custom node matchers. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 Created 5 years, 12 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 unified diff | Download patch
« no previous file with comments | « src/compiler/node-matchers.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 } 391 }
392 }; 392 };
393 393
394 394
395 struct InliningPhase { 395 struct InliningPhase {
396 static const char* phase_name() { return "inlining"; } 396 static const char* phase_name() { return "inlining"; }
397 397
398 void Run(PipelineData* data, Zone* temp_zone) { 398 void Run(PipelineData* data, Zone* temp_zone) {
399 SourcePositionTable::Scope pos(data->source_positions(), 399 SourcePositionTable::Scope pos(data->source_positions(),
400 SourcePosition::Unknown()); 400 SourcePosition::Unknown());
401 JSInliner inliner(temp_zone, data->info(), data->jsgraph()); 401 JSInliner inliner(data->info(), data->jsgraph(), temp_zone);
402 inliner.Inline(); 402 inliner.Inline();
403 } 403 }
404 }; 404 };
405 405
406 406
407 struct TyperPhase { 407 struct TyperPhase {
408 static const char* phase_name() { return "typer"; } 408 static const char* phase_name() { return "typer"; }
409 409
410 void Run(PipelineData* data, Zone* temp_zone) { data->typer()->Run(); } 410 void Run(PipelineData* data, Zone* temp_zone) { data->typer()->Run(); }
411 }; 411 };
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 } 1085 }
1086 1086
1087 1087
1088 void Pipeline::TearDown() { 1088 void Pipeline::TearDown() {
1089 InstructionOperand::TearDownCaches(); 1089 InstructionOperand::TearDownCaches();
1090 } 1090 }
1091 1091
1092 } // namespace compiler 1092 } // namespace compiler
1093 } // namespace internal 1093 } // namespace internal
1094 } // namespace v8 1094 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/node-matchers.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698