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

Side by Side Diff: runtime/vm/flow_graph_optimizer.cc

Issue 181183004: VM: Improve receiver class check in polymorphic inlining. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: improved polymorphic ClassCheck ia32 Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/flow_graph_optimizer.h" 5 #include "vm/flow_graph_optimizer.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/cha.h" 8 #include "vm/cha.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 6800 matching lines...) Expand 10 before | Expand all | Expand 10 after
6811 // cannot have constant values. 6811 // cannot have constant values.
6812 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { } 6812 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { }
6813 6813
6814 6814
6815 void ConstantPropagator::VisitCheckStackOverflow( 6815 void ConstantPropagator::VisitCheckStackOverflow(
6816 CheckStackOverflowInstr* instr) { } 6816 CheckStackOverflowInstr* instr) { }
6817 6817
6818 6818
6819 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { } 6819 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { }
6820 6820
6821 void ConstantPropagator::VisitCheckClassId(CheckClassIdInstr* instr) { }
6822
6821 void ConstantPropagator::VisitGuardField(GuardFieldInstr* instr) { } 6823 void ConstantPropagator::VisitGuardField(GuardFieldInstr* instr) { }
6822 6824
6823 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { } 6825 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { }
6824 6826
6825 6827
6826 void ConstantPropagator::VisitCheckEitherNonSmi( 6828 void ConstantPropagator::VisitCheckEitherNonSmi(
6827 CheckEitherNonSmiInstr* instr) { } 6829 CheckEitherNonSmiInstr* instr) { }
6828 6830
6829 6831
6830 void ConstantPropagator::VisitCheckArrayBound(CheckArrayBoundInstr* instr) { } 6832 void ConstantPropagator::VisitCheckArrayBound(CheckArrayBoundInstr* instr) { }
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
8622 } 8624 }
8623 8625
8624 // Insert materializations at environment uses. 8626 // Insert materializations at environment uses.
8625 for (intptr_t i = 0; i < exits.length(); i++) { 8627 for (intptr_t i = 0; i < exits.length(); i++) {
8626 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *fields); 8628 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *fields);
8627 } 8629 }
8628 } 8630 }
8629 8631
8630 8632
8631 } // namespace dart 8633 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698