| 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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1566 return summary; | 1566 return summary; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 | 1569 |
| 1570 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1570 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1571 // Nothing to do. Context register was loaded by the register allocator. | 1571 // Nothing to do. Context register was loaded by the register allocator. |
| 1572 ASSERT(locs()->in(0).reg() == CTX); | 1572 ASSERT(locs()->in(0).reg() == CTX); |
| 1573 } | 1573 } |
| 1574 | 1574 |
| 1575 | 1575 |
| 1576 StrictCompareInstr::StrictCompareInstr(Token::Kind kind, | 1576 StrictCompareInstr::StrictCompareInstr(intptr_t token_pos, |
| 1577 Token::Kind kind, |
| 1577 Value* left, | 1578 Value* left, |
| 1578 Value* right) | 1579 Value* right) |
| 1579 : ComparisonInstr(kind, left, right), | 1580 : ComparisonInstr(token_pos, kind, left, right), |
| 1580 needs_number_check_(FLAG_new_identity_spec) { | 1581 needs_number_check_(FLAG_new_identity_spec) { |
| 1581 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); | 1582 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); |
| 1582 } | 1583 } |
| 1583 | 1584 |
| 1584 | 1585 |
| 1585 LocationSummary* InstanceCallInstr::MakeLocationSummary() const { | 1586 LocationSummary* InstanceCallInstr::MakeLocationSummary() const { |
| 1586 return MakeCallSummary(); | 1587 return MakeCallSummary(); |
| 1587 } | 1588 } |
| 1588 | 1589 |
| 1589 | 1590 |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2461 default: | 2462 default: |
| 2462 UNREACHABLE(); | 2463 UNREACHABLE(); |
| 2463 } | 2464 } |
| 2464 return kPowRuntimeEntry; | 2465 return kPowRuntimeEntry; |
| 2465 } | 2466 } |
| 2466 | 2467 |
| 2467 | 2468 |
| 2468 #undef __ | 2469 #undef __ |
| 2469 | 2470 |
| 2470 } // namespace dart | 2471 } // namespace dart |
| OLD | NEW |