| 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 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2905 ASSERT(ic_data.NumberOfChecks() > 0); | 2905 ASSERT(ic_data.NumberOfChecks() > 0); |
| 2906 } | 2906 } |
| 2907 | 2907 |
| 2908 InstanceCallInstr* instance_call() const { return instance_call_; } | 2908 InstanceCallInstr* instance_call() const { return instance_call_; } |
| 2909 bool with_checks() const { return with_checks_; } | 2909 bool with_checks() const { return with_checks_; } |
| 2910 bool complete() const { return complete_; } | 2910 bool complete() const { return complete_; } |
| 2911 virtual TokenPosition token_pos() const { | 2911 virtual TokenPosition token_pos() const { |
| 2912 return instance_call_->token_pos(); | 2912 return instance_call_->token_pos(); |
| 2913 } | 2913 } |
| 2914 | 2914 |
| 2915 virtual CompileType ComputeType() const; | |
| 2916 | |
| 2917 virtual intptr_t ArgumentCount() const { | 2915 virtual intptr_t ArgumentCount() const { |
| 2918 return instance_call()->ArgumentCount(); | 2916 return instance_call()->ArgumentCount(); |
| 2919 } | 2917 } |
| 2920 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { | 2918 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { |
| 2921 return instance_call()->PushArgumentAt(index); | 2919 return instance_call()->PushArgumentAt(index); |
| 2922 } | 2920 } |
| 2923 | 2921 |
| 2924 bool HasSingleRecognizedTarget() const; | 2922 bool HasSingleRecognizedTarget() const; |
| 2925 | 2923 |
| 2926 bool HasOnlyDispatcherTargets() const; | 2924 bool HasOnlyDispatcherTargets() const; |
| (...skipping 5347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8274 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8272 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8275 UNIMPLEMENTED(); \ | 8273 UNIMPLEMENTED(); \ |
| 8276 return NULL; \ | 8274 return NULL; \ |
| 8277 } \ | 8275 } \ |
| 8278 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8276 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8279 | 8277 |
| 8280 | 8278 |
| 8281 } // namespace dart | 8279 } // namespace dart |
| 8282 | 8280 |
| 8283 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8281 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |