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

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

Issue 539153002: Port and integrate the irregexp engine from V8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed Ivan's comments. Created 6 years, 2 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/debugger.cc ('k') | runtime/vm/flow_graph_compiler.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) 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 #ifndef VM_FLOW_GRAPH_H_ 5 #ifndef VM_FLOW_GRAPH_H_
6 #define VM_FLOW_GRAPH_H_ 6 #define VM_FLOW_GRAPH_H_
7 7
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 #include "vm/hash_map.h" 10 #include "vm/hash_map.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 intptr_t num_stack_locals() const { 104 intptr_t num_stack_locals() const {
105 return num_stack_locals_; 105 return num_stack_locals_;
106 } 106 }
107 intptr_t num_copied_params() const { 107 intptr_t num_copied_params() const {
108 return num_copied_params_; 108 return num_copied_params_;
109 } 109 }
110 intptr_t num_non_copied_params() const { 110 intptr_t num_non_copied_params() const {
111 return num_non_copied_params_; 111 return num_non_copied_params_;
112 } 112 }
113 bool IsIrregexpFunction() const {
114 return parsed_function().function().IsIrregexpFunction();
115 }
113 116
114 // Flow graph orders. 117 // Flow graph orders.
115 const GrowableArray<BlockEntryInstr*>& preorder() const { 118 const GrowableArray<BlockEntryInstr*>& preorder() const {
116 return preorder_; 119 return preorder_;
117 } 120 }
118 const GrowableArray<BlockEntryInstr*>& postorder() const { 121 const GrowableArray<BlockEntryInstr*>& postorder() const {
119 return postorder_; 122 return postorder_;
120 } 123 }
121 const GrowableArray<BlockEntryInstr*>& reverse_postorder() const { 124 const GrowableArray<BlockEntryInstr*>& reverse_postorder() const {
122 return reverse_postorder_; 125 return reverse_postorder_;
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 489
487 private: 490 private:
488 GrowableArray<Definition*> defs_; 491 GrowableArray<Definition*> defs_;
489 BitVector* contains_vector_; 492 BitVector* contains_vector_;
490 }; 493 };
491 494
492 495
493 } // namespace dart 496 } // namespace dart
494 497
495 #endif // VM_FLOW_GRAPH_H_ 498 #endif // VM_FLOW_GRAPH_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698