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

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

Issue 10823131: Add deopt info to code object and print it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/locations.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1180
1181 1181
1182 class CreateArrayComp : public Computation { 1182 class CreateArrayComp : public Computation {
1183 public: 1183 public:
1184 CreateArrayComp(intptr_t token_pos, 1184 CreateArrayComp(intptr_t token_pos,
1185 intptr_t try_index, 1185 intptr_t try_index,
1186 ZoneGrowableArray<Value*>* elements, 1186 ZoneGrowableArray<Value*>* elements,
1187 Value* element_type) 1187 Value* element_type)
1188 : token_pos_(token_pos), 1188 : token_pos_(token_pos),
1189 try_index_(try_index), 1189 try_index_(try_index),
1190 elements_(elements) { 1190 elements_(elements),
1191 element_type_(element_type) {
1191 #if defined(DEBUG) 1192 #if defined(DEBUG)
1192 for (int i = 0; i < ElementCount(); ++i) { 1193 for (int i = 0; i < ElementCount(); ++i) {
1193 ASSERT(ElementAt(i) != NULL); 1194 ASSERT(ElementAt(i) != NULL);
1194 } 1195 }
1195 ASSERT(element_type != NULL); 1196 ASSERT(element_type != NULL);
1196 #endif 1197 #endif
1197 } 1198 }
1198 1199
1199 DECLARE_CALL_COMPUTATION(CreateArray) 1200 DECLARE_CALL_COMPUTATION(CreateArray)
1200 1201
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 const GrowableArray<BlockEntryInstr*>& block_order_; 2756 const GrowableArray<BlockEntryInstr*>& block_order_;
2756 2757
2757 private: 2758 private:
2758 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 2759 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
2759 }; 2760 };
2760 2761
2761 2762
2762 } // namespace dart 2763 } // namespace dart
2763 2764
2764 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 2765 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698