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 7997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8008 Environment(intptr_t length, | 8008 Environment(intptr_t length, |
8009 intptr_t fixed_parameter_count, | 8009 intptr_t fixed_parameter_count, |
8010 intptr_t deopt_id, | 8010 intptr_t deopt_id, |
8011 const ParsedFunction& parsed_function, | 8011 const ParsedFunction& parsed_function, |
8012 Environment* outer) | 8012 Environment* outer) |
8013 : values_(length), | 8013 : values_(length), |
8014 locations_(NULL), | 8014 locations_(NULL), |
8015 fixed_parameter_count_(fixed_parameter_count), | 8015 fixed_parameter_count_(fixed_parameter_count), |
8016 deopt_id_(deopt_id), | 8016 deopt_id_(deopt_id), |
8017 parsed_function_(parsed_function), | 8017 parsed_function_(parsed_function), |
8018 outer_(outer) { } | 8018 outer_(outer) { |
| 8019 ASSERT(!parsed_function_.code().IsNull()); |
| 8020 } |
8019 | 8021 |
8020 | 8022 |
8021 GrowableArray<Value*> values_; | 8023 GrowableArray<Value*> values_; |
8022 Location* locations_; | 8024 Location* locations_; |
8023 const intptr_t fixed_parameter_count_; | 8025 const intptr_t fixed_parameter_count_; |
8024 intptr_t deopt_id_; | 8026 intptr_t deopt_id_; |
8025 const ParsedFunction& parsed_function_; | 8027 const ParsedFunction& parsed_function_; |
8026 Environment* outer_; | 8028 Environment* outer_; |
8027 | 8029 |
8028 DISALLOW_COPY_AND_ASSIGN(Environment); | 8030 DISALLOW_COPY_AND_ASSIGN(Environment); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8068 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8070 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
8069 UNIMPLEMENTED(); \ | 8071 UNIMPLEMENTED(); \ |
8070 return NULL; \ | 8072 return NULL; \ |
8071 } \ | 8073 } \ |
8072 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8074 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
8073 | 8075 |
8074 | 8076 |
8075 } // namespace dart | 8077 } // namespace dart |
8076 | 8078 |
8077 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8079 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |