Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 785 NativeFunction native_c_function() const { | 785 NativeFunction native_c_function() const { |
| 786 return ast_node_.native_c_function(); | 786 return ast_node_.native_c_function(); |
| 787 } | 787 } |
| 788 | 788 |
| 789 intptr_t argument_count() const { return ast_node_.argument_count(); } | 789 intptr_t argument_count() const { return ast_node_.argument_count(); } |
| 790 | 790 |
| 791 bool has_optional_parameters() const { | 791 bool has_optional_parameters() const { |
| 792 return ast_node_.has_optional_parameters(); | 792 return ast_node_.has_optional_parameters(); |
| 793 } | 793 } |
| 794 | 794 |
| 795 bool is_implicit_native_closure() const { | |
|
regis
2012/06/15 17:13:34
is_native_instance_closure?
siva
2012/06/16 00:25:43
Done.
| |
| 796 return ast_node_.is_implicit_native_closure(); | |
| 797 } | |
| 798 | |
| 795 virtual void PrintOperandsTo(BufferFormatter* f) const; | 799 virtual void PrintOperandsTo(BufferFormatter* f) const; |
| 796 | 800 |
| 797 private: | 801 private: |
| 798 const NativeBodyNode& ast_node_; | 802 const NativeBodyNode& ast_node_; |
| 799 const intptr_t try_index_; | 803 const intptr_t try_index_; |
| 800 | 804 |
| 801 DISALLOW_COPY_AND_ASSIGN(NativeCallComp); | 805 DISALLOW_COPY_AND_ASSIGN(NativeCallComp); |
| 802 }; | 806 }; |
| 803 | 807 |
| 804 | 808 |
| (...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2370 const GrowableArray<BlockEntryInstr*>& block_order_; | 2374 const GrowableArray<BlockEntryInstr*>& block_order_; |
| 2371 | 2375 |
| 2372 private: | 2376 private: |
| 2373 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 2377 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 2374 }; | 2378 }; |
| 2375 | 2379 |
| 2376 | 2380 |
| 2377 } // namespace dart | 2381 } // namespace dart |
| 2378 | 2382 |
| 2379 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 2383 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |