OLD | NEW |
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_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 3391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3402 } | 3402 } |
3403 | 3403 |
3404 NativeFunction native_c_function() const { | 3404 NativeFunction native_c_function() const { |
3405 return ast_node_.native_c_function(); | 3405 return ast_node_.native_c_function(); |
3406 } | 3406 } |
3407 | 3407 |
3408 bool is_bootstrap_native() const { | 3408 bool is_bootstrap_native() const { |
3409 return ast_node_.is_bootstrap_native(); | 3409 return ast_node_.is_bootstrap_native(); |
3410 } | 3410 } |
3411 | 3411 |
| 3412 bool link_lazily() const { |
| 3413 return ast_node_.link_lazily(); |
| 3414 } |
| 3415 |
3412 virtual void PrintOperandsTo(BufferFormatter* f) const; | 3416 virtual void PrintOperandsTo(BufferFormatter* f) const; |
3413 | 3417 |
3414 virtual bool CanDeoptimize() const { return false; } | 3418 virtual bool CanDeoptimize() const { return false; } |
3415 | 3419 |
3416 virtual EffectSet Effects() const { return EffectSet::All(); } | 3420 virtual EffectSet Effects() const { return EffectSet::All(); } |
3417 | 3421 |
3418 private: | 3422 private: |
3419 const NativeBodyNode& ast_node_; | 3423 const NativeBodyNode& ast_node_; |
3420 | 3424 |
3421 DISALLOW_COPY_AND_ASSIGN(NativeCallInstr); | 3425 DISALLOW_COPY_AND_ASSIGN(NativeCallInstr); |
(...skipping 4679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8101 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8105 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
8102 UNIMPLEMENTED(); \ | 8106 UNIMPLEMENTED(); \ |
8103 return NULL; \ | 8107 return NULL; \ |
8104 } \ | 8108 } \ |
8105 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8109 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
8106 | 8110 |
8107 | 8111 |
8108 } // namespace dart | 8112 } // namespace dart |
8109 | 8113 |
8110 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8114 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |