Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1150)

Side by Side Diff: runtime/vm/intermediate_language_x64.cc

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/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 "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 6509 matching lines...) Expand 10 before | Expand all | Expand 10 after
6520 __ int3(); 6520 __ int3();
6521 } 6521 }
6522 6522
6523 6523
6524 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { 6524 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const {
6525 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); 6525 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall);
6526 } 6526 }
6527 6527
6528 6528
6529 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6529 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6530 compiler->SetNeedsStacktrace(catch_try_index()); 6530 compiler->SetNeedsStackTrace(catch_try_index());
6531 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, 6531 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry,
6532 2, locs()); 6532 2, locs());
6533 __ int3(); 6533 __ int3();
6534 } 6534 }
6535 6535
6536 6536
6537 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { 6537 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const {
6538 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6538 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6539 } 6539 }
6540 6540
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
6808 __ Drop(1); 6808 __ Drop(1);
6809 __ popq(result); 6809 __ popq(result);
6810 } 6810 }
6811 6811
6812 6812
6813 } // namespace dart 6813 } // namespace dart
6814 6814
6815 #undef __ 6815 #undef __
6816 6816
6817 #endif // defined TARGET_ARCH_X64 6817 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698