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

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

Issue 381803005: Reland r38116: 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 7844 matching lines...) Expand 10 before | Expand all | Expand 10 after
7855 // cannot have constant values. 7855 // cannot have constant values.
7856 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { } 7856 void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { }
7857 7857
7858 7858
7859 void ConstantPropagator::VisitCheckStackOverflow( 7859 void ConstantPropagator::VisitCheckStackOverflow(
7860 CheckStackOverflowInstr* instr) { } 7860 CheckStackOverflowInstr* instr) { }
7861 7861
7862 7862
7863 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { } 7863 void ConstantPropagator::VisitCheckClass(CheckClassInstr* instr) { }
7864 7864
7865 void ConstantPropagator::VisitCheckClassId(CheckClassIdInstr* instr) { }
7866
7865 void ConstantPropagator::VisitGuardFieldClass(GuardFieldClassInstr* instr) { } 7867 void ConstantPropagator::VisitGuardFieldClass(GuardFieldClassInstr* instr) { }
7866 7868
7867 void ConstantPropagator::VisitGuardFieldLength(GuardFieldLengthInstr* instr) { } 7869 void ConstantPropagator::VisitGuardFieldLength(GuardFieldLengthInstr* instr) { }
7868 7870
7869 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { } 7871 void ConstantPropagator::VisitCheckSmi(CheckSmiInstr* instr) { }
7870 7872
7871 7873
7872 void ConstantPropagator::VisitCheckEitherNonSmi( 7874 void ConstantPropagator::VisitCheckEitherNonSmi(
7873 CheckEitherNonSmiInstr* instr) { } 7875 CheckEitherNonSmiInstr* instr) { }
7874 7876
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
9783 } 9785 }
9784 9786
9785 // Insert materializations at environment uses. 9787 // Insert materializations at environment uses.
9786 for (intptr_t i = 0; i < exits.length(); i++) { 9788 for (intptr_t i = 0; i < exits.length(); i++) {
9787 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots); 9789 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots);
9788 } 9790 }
9789 } 9791 }
9790 9792
9791 9793
9792 } // namespace dart 9794 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698