| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/globals.h" // Needed here to get TARGET_ARCH_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
| 6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "lib/error.h" | 10 #include "lib/error.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // Note that the nop(8) byte pattern is not recognized by the debugger. | 107 // Note that the nop(8) byte pattern is not recognized by the debugger. |
| 108 __ nop(1); | 108 __ nop(1); |
| 109 __ nop(1); | 109 __ nop(1); |
| 110 __ nop(1); | 110 __ nop(1); |
| 111 __ nop(1); | 111 __ nop(1); |
| 112 __ nop(1); | 112 __ nop(1); |
| 113 __ nop(1); | 113 __ nop(1); |
| 114 __ nop(1); | 114 __ nop(1); |
| 115 __ nop(1); | 115 __ nop(1); |
| 116 compiler->AddCurrentDescriptor(PcDescriptors::kReturn, | 116 compiler->AddCurrentDescriptor(PcDescriptors::kReturn, |
| 117 deopt_id(), | 117 Isolate::kNoDeoptId, |
| 118 token_pos()); | 118 token_pos()); |
| 119 } | 119 } |
| 120 | 120 |
| 121 | 121 |
| 122 LocationSummary* ClosureCallInstr::MakeLocationSummary() const { | 122 LocationSummary* ClosureCallInstr::MakeLocationSummary() const { |
| 123 const intptr_t kNumInputs = 0; | 123 const intptr_t kNumInputs = 0; |
| 124 const intptr_t kNumTemps = 1; | 124 const intptr_t kNumTemps = 1; |
| 125 LocationSummary* result = | 125 LocationSummary* result = |
| 126 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); | 126 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); |
| 127 result->set_out(Location::RegisterLocation(RAX)); | 127 result->set_out(Location::RegisterLocation(RAX)); |
| (...skipping 2147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2275 __ j(ABOVE_EQUAL, deopt); | 2275 __ j(ABOVE_EQUAL, deopt); |
| 2276 } | 2276 } |
| 2277 } | 2277 } |
| 2278 | 2278 |
| 2279 | 2279 |
| 2280 } // namespace dart | 2280 } // namespace dart |
| 2281 | 2281 |
| 2282 #undef __ | 2282 #undef __ |
| 2283 | 2283 |
| 2284 #endif // defined TARGET_ARCH_X64 | 2284 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |