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 #include "vm/intermediate_language.h" | 5 #include "vm/intermediate_language.h" |
6 | 6 |
7 #include "vm/bit_vector.h" | 7 #include "vm/bit_vector.h" |
8 #include "vm/cpu.h" | 8 #include "vm/cpu.h" |
9 #include "vm/dart_entry.h" | 9 #include "vm/dart_entry.h" |
10 #include "vm/flow_graph_allocator.h" | 10 #include "vm/flow_graph_allocator.h" |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 | 446 |
447 | 447 |
448 GraphEntryInstr::GraphEntryInstr(const ParsedFunction* parsed_function, | 448 GraphEntryInstr::GraphEntryInstr(const ParsedFunction* parsed_function, |
449 TargetEntryInstr* normal_entry, | 449 TargetEntryInstr* normal_entry, |
450 intptr_t osr_id) | 450 intptr_t osr_id) |
451 : BlockEntryInstr(0, CatchClauseNode::kInvalidTryIndex), | 451 : BlockEntryInstr(0, CatchClauseNode::kInvalidTryIndex), |
452 parsed_function_(parsed_function), | 452 parsed_function_(parsed_function), |
453 normal_entry_(normal_entry), | 453 normal_entry_(normal_entry), |
454 catch_entries_(), | 454 catch_entries_(), |
455 indirect_entries_(), | 455 indirect_entries_(), |
| 456 indirect_entry_offsets_(NULL), |
456 initial_definitions_(), | 457 initial_definitions_(), |
457 osr_id_(osr_id), | 458 osr_id_(osr_id), |
458 entry_count_(0), | 459 entry_count_(0), |
459 spill_slot_count_(0), | 460 spill_slot_count_(0), |
460 fixed_slot_count_(0) { | 461 fixed_slot_count_(0) { |
461 } | 462 } |
462 | 463 |
463 | 464 |
464 ConstantInstr* GraphEntryInstr::constant_null() { | 465 ConstantInstr* GraphEntryInstr::constant_null() { |
465 ASSERT(initial_definitions_.length() > 0); | 466 ASSERT(initial_definitions_.length() > 0); |
(...skipping 2912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3378 case Token::kTRUNCDIV: return 0; | 3379 case Token::kTRUNCDIV: return 0; |
3379 case Token::kMOD: return 1; | 3380 case Token::kMOD: return 1; |
3380 default: UNIMPLEMENTED(); return -1; | 3381 default: UNIMPLEMENTED(); return -1; |
3381 } | 3382 } |
3382 } | 3383 } |
3383 | 3384 |
3384 | 3385 |
3385 #undef __ | 3386 #undef __ |
3386 | 3387 |
3387 } // namespace dart | 3388 } // namespace dart |
OLD | NEW |