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

Side by Side Diff: runtime/vm/code_generator.h

Issue 8972002: Use deopt on some instructions that have not collected type feedback when optimizing compierl kic... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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
« no previous file with comments | « no previous file | runtime/vm/opt_code_generator_ia32.cc » ('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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #ifndef VM_CODE_GENERATOR_H_ 5 #ifndef VM_CODE_GENERATOR_H_
6 #define VM_CODE_GENERATOR_H_ 6 #define VM_CODE_GENERATOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 kDeoptInstanceSetterSameTarget, 70 kDeoptInstanceSetterSameTarget,
71 kDeoptInstanceSetter, 71 kDeoptInstanceSetter,
72 kDeoptSmiEquality, 72 kDeoptSmiEquality,
73 kDeoptSmiCompareSmis, 73 kDeoptSmiCompareSmis,
74 kDeoptSmiCompareAny, 74 kDeoptSmiCompareAny,
75 kDeoptEqualityNoFeedback, 75 kDeoptEqualityNoFeedback,
76 kDeoptEqualityClassCheck, 76 kDeoptEqualityClassCheck,
77 kDeoptDoubleComparison, 77 kDeoptDoubleComparison,
78 kDeoptLoadIndexedFixedArray, 78 kDeoptLoadIndexedFixedArray,
79 kDeoptLoadIndexedGrowableArray, 79 kDeoptLoadIndexedGrowableArray,
80 kDeoptNoTypeFeedback,
81 kDeoptSAR,
80 }; 82 };
81 83
82 // This class wraps around the array RawClass::functions_cache_. 84 // This class wraps around the array RawClass::functions_cache_.
83 // The structure of that array is specified by FunctionsCache::Entries. 85 // The structure of that array is specified by FunctionsCache::Entries.
84 // The last entry in the array is always NULL, the lookup code can rely on 86 // The last entry in the array is always NULL, the lookup code can rely on
85 // last entry being NULL to terminate its search. 87 // last entry being NULL to terminate its search.
86 // The compiled functions are added sequentially (except for the last entry 88 // The compiled functions are added sequentially (except for the last entry
87 // being empty). Names of functions with variable number of arguments 89 // being empty). Names of functions with variable number of arguments
88 // can appear several times, once for each valid argument count. 90 // can appear several times, once for each valid argument count.
89 class FunctionsCache : public ValueObject { 91 class FunctionsCache : public ValueObject {
(...skipping 25 matching lines...) Expand all
115 const Function& function, 117 const Function& function,
116 int num_arguments, 118 int num_arguments,
117 int num_named_arguments); 119 int num_named_arguments);
118 120
119 const Class& class_; 121 const Class& class_;
120 }; 122 };
121 123
122 } // namespace dart 124 } // namespace dart
123 125
124 #endif // VM_CODE_GENERATOR_H_ 126 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698