OLD | NEW |
1 | 1 |
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | 6 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
7 #if defined(TARGET_ARCH_ARM) | 7 #if defined(TARGET_ARCH_ARM) |
8 | 8 |
9 #include "vm/intermediate_language.h" | 9 #include "vm/intermediate_language.h" |
10 | 10 |
(...skipping 6976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6987 __ bkpt(0); | 6987 __ bkpt(0); |
6988 } | 6988 } |
6989 | 6989 |
6990 | 6990 |
6991 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 6991 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
6992 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); | 6992 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); |
6993 } | 6993 } |
6994 | 6994 |
6995 | 6995 |
6996 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6996 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6997 compiler->SetNeedsStacktrace(catch_try_index()); | 6997 compiler->SetNeedsStackTrace(catch_try_index()); |
6998 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, | 6998 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, |
6999 2, locs()); | 6999 2, locs()); |
7000 __ bkpt(0); | 7000 __ bkpt(0); |
7001 } | 7001 } |
7002 | 7002 |
7003 | 7003 |
7004 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 7004 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
7005 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 7005 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
7006 } | 7006 } |
7007 | 7007 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7227 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), | 7227 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), |
7228 kGrowRegExpStackRuntimeEntry, 1, locs()); | 7228 kGrowRegExpStackRuntimeEntry, 1, locs()); |
7229 __ Drop(1); | 7229 __ Drop(1); |
7230 __ Pop(result); | 7230 __ Pop(result); |
7231 } | 7231 } |
7232 | 7232 |
7233 | 7233 |
7234 } // namespace dart | 7234 } // namespace dart |
7235 | 7235 |
7236 #endif // defined TARGET_ARCH_ARM | 7236 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |