| 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 8358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8369 return fixed_parameter_count_; | 8369 return fixed_parameter_count_; |
| 8370 } | 8370 } |
| 8371 | 8371 |
| 8372 const Code& code() const { return parsed_function_->code(); } | 8372 const Code& code() const { return parsed_function_->code(); } |
| 8373 | 8373 |
| 8374 Environment* DeepCopy(Isolate* isolate) const { | 8374 Environment* DeepCopy(Isolate* isolate) const { |
| 8375 return DeepCopy(isolate, Length()); | 8375 return DeepCopy(isolate, Length()); |
| 8376 } | 8376 } |
| 8377 | 8377 |
| 8378 void DeepCopyTo(Isolate* isolate, Instruction* instr) const; | 8378 void DeepCopyTo(Isolate* isolate, Instruction* instr) const; |
| 8379 void DeepCopyToOuter(Isolate* isolate, | 8379 void DeepCopyToOuter(Isolate* isolate, Instruction* instr) const; |
| 8380 Instruction* instr, | |
| 8381 intptr_t input_count) const; | |
| 8382 | 8380 |
| 8383 void PrintTo(BufferFormatter* f) const; | 8381 void PrintTo(BufferFormatter* f) const; |
| 8384 const char* ToCString() const; | 8382 const char* ToCString() const; |
| 8385 | 8383 |
| 8386 // Deep copy an environment. The 'length' parameter may be less than the | 8384 // Deep copy an environment. The 'length' parameter may be less than the |
| 8387 // environment's length in order to drop values (e.g., passed arguments) | 8385 // environment's length in order to drop values (e.g., passed arguments) |
| 8388 // from the copy. | 8386 // from the copy. |
| 8389 Environment* DeepCopy(Isolate* isolate, intptr_t length) const; | 8387 Environment* DeepCopy(Isolate* isolate, intptr_t length) const; |
| 8390 | 8388 |
| 8391 private: | 8389 private: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8455 Isolate* isolate, bool opt) const { \ | 8453 Isolate* isolate, bool opt) const { \ |
| 8456 UNIMPLEMENTED(); \ | 8454 UNIMPLEMENTED(); \ |
| 8457 return NULL; \ | 8455 return NULL; \ |
| 8458 } \ | 8456 } \ |
| 8459 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8457 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8460 | 8458 |
| 8461 | 8459 |
| 8462 } // namespace dart | 8460 } // namespace dart |
| 8463 | 8461 |
| 8464 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8462 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |