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

Side by Side Diff: runtime/vm/intermediate_language_ia32.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_dbc.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 6579 matching lines...) Expand 10 before | Expand all | Expand 10 after
6590 __ int3(); 6590 __ int3();
6591 } 6591 }
6592 6592
6593 6593
6594 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { 6594 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const {
6595 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); 6595 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall);
6596 } 6596 }
6597 6597
6598 6598
6599 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6599 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6600 compiler->SetNeedsStacktrace(catch_try_index()); 6600 compiler->SetNeedsStackTrace(catch_try_index());
6601 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, 6601 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry,
6602 2, locs()); 6602 2, locs());
6603 __ int3(); 6603 __ int3();
6604 } 6604 }
6605 6605
6606 6606
6607 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { 6607 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const {
6608 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6608 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6609 } 6609 }
6610 6610
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
6939 __ Drop(1); 6939 __ Drop(1);
6940 __ popl(result); 6940 __ popl(result);
6941 } 6941 }
6942 6942
6943 6943
6944 } // namespace dart 6944 } // namespace dart
6945 6945
6946 #undef __ 6946 #undef __
6947 6947
6948 #endif // defined TARGET_ARCH_IA32 6948 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_dbc.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698