| 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/bigint_operations.h" | 7 #include "vm/bigint_operations.h" |
| 8 #include "vm/bit_vector.h" | 8 #include "vm/bit_vector.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 1567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1578 return summary; | 1578 return summary; |
| 1579 } | 1579 } |
| 1580 | 1580 |
| 1581 | 1581 |
| 1582 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1582 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1583 // Nothing to do. Context register was loaded by the register allocator. | 1583 // Nothing to do. Context register was loaded by the register allocator. |
| 1584 ASSERT(locs()->in(0).reg() == CTX); | 1584 ASSERT(locs()->in(0).reg() == CTX); |
| 1585 } | 1585 } |
| 1586 | 1586 |
| 1587 | 1587 |
| 1588 StrictCompareInstr::StrictCompareInstr(Token::Kind kind, | 1588 StrictCompareInstr::StrictCompareInstr(intptr_t token_pos, |
| 1589 Token::Kind kind, |
| 1589 Value* left, | 1590 Value* left, |
| 1590 Value* right) | 1591 Value* right) |
| 1591 : ComparisonInstr(kind, left, right), | 1592 : ComparisonInstr(token_pos, kind, left, right), |
| 1592 needs_number_check_(FLAG_new_identity_spec) { | 1593 needs_number_check_(FLAG_new_identity_spec) { |
| 1593 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); | 1594 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); |
| 1594 } | 1595 } |
| 1595 | 1596 |
| 1596 | 1597 |
| 1597 LocationSummary* InstanceCallInstr::MakeLocationSummary() const { | 1598 LocationSummary* InstanceCallInstr::MakeLocationSummary() const { |
| 1598 return MakeCallSummary(); | 1599 return MakeCallSummary(); |
| 1599 } | 1600 } |
| 1600 | 1601 |
| 1601 | 1602 |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2473 default: | 2474 default: |
| 2474 UNREACHABLE(); | 2475 UNREACHABLE(); |
| 2475 } | 2476 } |
| 2476 return kPowRuntimeEntry; | 2477 return kPowRuntimeEntry; |
| 2477 } | 2478 } |
| 2478 | 2479 |
| 2479 | 2480 |
| 2480 #undef __ | 2481 #undef __ |
| 2481 | 2482 |
| 2482 } // namespace dart | 2483 } // namespace dart |
| OLD | NEW |