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

Side by Side Diff: vm/intermediate_language.h

Issue 10535180: Allow implicit 'close your eyes' of native methods. This will hopefully fix issue 3466. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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 | « vm/flow_graph_compiler_x64.cc ('k') | vm/intermediate_language_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) 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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 NativeFunction native_c_function() const { 835 NativeFunction native_c_function() const {
836 return ast_node_.native_c_function(); 836 return ast_node_.native_c_function();
837 } 837 }
838 838
839 intptr_t argument_count() const { return ast_node_.argument_count(); } 839 intptr_t argument_count() const { return ast_node_.argument_count(); }
840 840
841 bool has_optional_parameters() const { 841 bool has_optional_parameters() const {
842 return ast_node_.has_optional_parameters(); 842 return ast_node_.has_optional_parameters();
843 } 843 }
844 844
845 bool is_native_instance_closure() const {
846 return ast_node_.is_native_instance_closure();
847 }
848
845 virtual void PrintOperandsTo(BufferFormatter* f) const; 849 virtual void PrintOperandsTo(BufferFormatter* f) const;
846 850
847 private: 851 private:
848 const NativeBodyNode& ast_node_; 852 const NativeBodyNode& ast_node_;
849 const intptr_t try_index_; 853 const intptr_t try_index_;
850 854
851 DISALLOW_COPY_AND_ASSIGN(NativeCallComp); 855 DISALLOW_COPY_AND_ASSIGN(NativeCallComp);
852 }; 856 };
853 857
854 858
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2420 const GrowableArray<BlockEntryInstr*>& block_order_; 2424 const GrowableArray<BlockEntryInstr*>& block_order_;
2421 2425
2422 private: 2426 private:
2423 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 2427 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
2424 }; 2428 };
2425 2429
2426 2430
2427 } // namespace dart 2431 } // namespace dart
2428 2432
2429 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 2433 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « vm/flow_graph_compiler_x64.cc ('k') | vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698