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

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

Issue 1408123002: Revert of [turbofan] Initial support for monomorphic/polymorphic property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/js-inlining.cc ('k') | src/field-index.h » ('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/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), 511 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(),
512 data->common()); 512 data->common());
513 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), 513 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
514 data->common(), data->machine()); 514 data->common(), data->machine());
515 JSGlobalSpecialization global_specialization( 515 JSGlobalSpecialization global_specialization(
516 &graph_reducer, data->jsgraph(), 516 &graph_reducer, data->jsgraph(),
517 data->info()->is_deoptimization_enabled() 517 data->info()->is_deoptimization_enabled()
518 ? JSGlobalSpecialization::kDeoptimizationEnabled 518 ? JSGlobalSpecialization::kDeoptimizationEnabled
519 : JSGlobalSpecialization::kNoFlags, 519 : JSGlobalSpecialization::kNoFlags,
520 handle(data->info()->global_object(), data->isolate()), 520 handle(data->info()->global_object(), data->isolate()),
521 data->info()->dependencies(), temp_zone); 521 data->info()->dependencies());
522 AddReducer(data, &graph_reducer, &dead_code_elimination); 522 AddReducer(data, &graph_reducer, &dead_code_elimination);
523 AddReducer(data, &graph_reducer, &common_reducer); 523 AddReducer(data, &graph_reducer, &common_reducer);
524 AddReducer(data, &graph_reducer, &global_specialization); 524 AddReducer(data, &graph_reducer, &global_specialization);
525 graph_reducer.ReduceGraph(); 525 graph_reducer.ReduceGraph();
526 } 526 }
527 }; 527 };
528 528
529 529
530 struct InliningPhase { 530 struct InliningPhase {
531 static const char* phase_name() { return "inlining"; } 531 static const char* phase_name() { return "inlining"; }
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 tcf << AsC1VRegisterAllocationData("CodeGen", 1451 tcf << AsC1VRegisterAllocationData("CodeGen",
1452 data->register_allocation_data()); 1452 data->register_allocation_data());
1453 } 1453 }
1454 1454
1455 data->DeleteRegisterAllocationZone(); 1455 data->DeleteRegisterAllocationZone();
1456 } 1456 }
1457 1457
1458 } // namespace compiler 1458 } // namespace compiler
1459 } // namespace internal 1459 } // namespace internal
1460 } // namespace v8 1460 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | src/field-index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698