| 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/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/flow_graph_allocator.h" | 9 #include "vm/flow_graph_allocator.h" |
| 10 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
| (...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 const intptr_t kNumInputs = 1; | 1504 const intptr_t kNumInputs = 1; |
| 1505 const intptr_t kNumTemps = 0; | 1505 const intptr_t kNumTemps = 0; |
| 1506 LocationSummary* summary = | 1506 LocationSummary* summary = |
| 1507 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall); | 1507 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall); |
| 1508 summary->set_in(0, Location::RegisterLocation(CTX)); | 1508 summary->set_in(0, Location::RegisterLocation(CTX)); |
| 1509 return summary; | 1509 return summary; |
| 1510 } | 1510 } |
| 1511 | 1511 |
| 1512 | 1512 |
| 1513 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1513 void StoreContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1514 // Nothing to do. Context register were loaded by register allocator. | 1514 // Nothing to do. Context register was loaded by the register allocator. |
| 1515 ASSERT(locs()->in(0).reg() == CTX); | 1515 ASSERT(locs()->in(0).reg() == CTX); |
| 1516 } | 1516 } |
| 1517 | 1517 |
| 1518 | 1518 |
| 1519 StrictCompareInstr::StrictCompareInstr(Token::Kind kind, | 1519 StrictCompareInstr::StrictCompareInstr(Token::Kind kind, |
| 1520 Value* left, | 1520 Value* left, |
| 1521 Value* right) | 1521 Value* right) |
| 1522 : ComparisonInstr(kind, left, right), | 1522 : ComparisonInstr(kind, left, right), |
| 1523 needs_number_check_(FLAG_new_identity_spec) { | 1523 needs_number_check_(FLAG_new_identity_spec) { |
| 1524 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); | 1524 ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT)); |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2388 default: | 2388 default: |
| 2389 UNREACHABLE(); | 2389 UNREACHABLE(); |
| 2390 } | 2390 } |
| 2391 return kPowRuntimeEntry; | 2391 return kPowRuntimeEntry; |
| 2392 } | 2392 } |
| 2393 | 2393 |
| 2394 | 2394 |
| 2395 #undef __ | 2395 #undef __ |
| 2396 | 2396 |
| 2397 } // namespace dart | 2397 } // namespace dart |
| OLD | NEW |