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

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

Issue 1396333010: [turbofan] Initial support for monomorphic/polymorphic property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Work-around register allocator bug. 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), 512 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(),
513 data->common()); 513 data->common());
514 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), 514 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
515 data->common(), data->machine()); 515 data->common(), data->machine());
516 JSGlobalSpecialization global_specialization( 516 JSGlobalSpecialization global_specialization(
517 &graph_reducer, data->jsgraph(), 517 &graph_reducer, data->jsgraph(),
518 data->info()->is_deoptimization_enabled() 518 data->info()->is_deoptimization_enabled()
519 ? JSGlobalSpecialization::kDeoptimizationEnabled 519 ? JSGlobalSpecialization::kDeoptimizationEnabled
520 : JSGlobalSpecialization::kNoFlags, 520 : JSGlobalSpecialization::kNoFlags,
521 handle(data->info()->global_object(), data->isolate()), 521 handle(data->info()->global_object(), data->isolate()),
522 data->info()->dependencies()); 522 data->info()->dependencies(), temp_zone);
523 AddReducer(data, &graph_reducer, &dead_code_elimination); 523 AddReducer(data, &graph_reducer, &dead_code_elimination);
524 AddReducer(data, &graph_reducer, &common_reducer); 524 AddReducer(data, &graph_reducer, &common_reducer);
525 AddReducer(data, &graph_reducer, &global_specialization); 525 AddReducer(data, &graph_reducer, &global_specialization);
526 graph_reducer.ReduceGraph(); 526 graph_reducer.ReduceGraph();
527 } 527 }
528 }; 528 };
529 529
530 530
531 struct InliningPhase { 531 struct InliningPhase {
532 static const char* phase_name() { return "inlining"; } 532 static const char* phase_name() { return "inlining"; }
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 tcf << AsC1VRegisterAllocationData("CodeGen", 1471 tcf << AsC1VRegisterAllocationData("CodeGen",
1472 data->register_allocation_data()); 1472 data->register_allocation_data());
1473 } 1473 }
1474 1474
1475 data->DeleteRegisterAllocationZone(); 1475 data->DeleteRegisterAllocationZone();
1476 } 1476 }
1477 1477
1478 } // namespace compiler 1478 } // namespace compiler
1479 } // namespace internal 1479 } // namespace internal
1480 } // namespace v8 1480 } // 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