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

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: Created 6 years, 5 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 7839 matching lines...) Expand 10 before | Expand all | Expand 10 after
7850 // cannot have constant values. 7850 // cannot have constant values.
7851 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { } 7851 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { }
7852 7852
7853 7853
7854 void ConstantPropagator::VisitCheckStackOverflow( 7854 void ConstantPropagator::VisitCheckStackOverflow(
7855 CheckStackOverflowInstr* instr) { } 7855 CheckStackOverflowInstr* instr) { }
7856 7856
7857 7857
7858 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { } 7858 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { }
7859 7859
7860 void ConstantPropagator::VisitCheckClassId(CheckClassIdInstr* instr) { }
7861
7860 void ConstantPropagator::VisitGuardFieldClass(GuardFieldClassInstr* instr) { } 7862 void ConstantPropagator::VisitGuardFieldClass(GuardFieldClassInstr* instr) { }
7861 7863
7862 void ConstantPropagator::VisitGuardFieldLength(GuardFieldLengthInstr* instr) { } 7864 void ConstantPropagator::VisitGuardFieldLength(GuardFieldLengthInstr* instr) { }
7863 7865
7864 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { } 7866 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { }
7865 7867
7866 7868
7867 void ConstantPropagator::VisitCheckEitherNonSmi( 7869 void ConstantPropagator::VisitCheckEitherNonSmi(
7868 CheckEitherNonSmiInstr* instr) { } 7870 CheckEitherNonSmiInstr* instr) { }
7869 7871
(...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after
9818 } 9820 }
9819 9821
9820 // Insert materializations at environment uses. 9822 // Insert materializations at environment uses.
9821 for (intptr_t i = 0; i < exits.length(); i++) { 9823 for (intptr_t i = 0; i < exits.length(); i++) {
9822 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots); 9824 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots);
9823 } 9825 }
9824 } 9826 }
9825 9827
9826 9828
9827 } // namespace dart 9829 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698