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

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

Issue 1087383002: Add support for debug break in Dart source. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 months 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 | Annotate | Revision Log
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/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 6508 matching lines...) Expand 10 before | Expand all | Expand 10 after
6519 compiler->SetNeedsStacktrace(catch_try_index()); 6519 compiler->SetNeedsStacktrace(catch_try_index());
6520 compiler->GenerateRuntimeCall(token_pos(), 6520 compiler->GenerateRuntimeCall(token_pos(),
6521 deopt_id(), 6521 deopt_id(),
6522 kReThrowRuntimeEntry, 6522 kReThrowRuntimeEntry,
6523 2, 6523 2,
6524 locs()); 6524 locs());
6525 __ int3(); 6525 __ int3();
6526 } 6526 }
6527 6527
6528 6528
6529 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone,
6530 bool opt) const {
6531 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6532 }
6533
6534
6535 void StopInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6536 __ Stop(message());
6537 }
6538
6539
6529 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6540 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6530 if (!compiler->CanFallThroughTo(normal_entry())) { 6541 if (!compiler->CanFallThroughTo(normal_entry())) {
6531 __ jmp(compiler->GetJumpLabel(normal_entry())); 6542 __ jmp(compiler->GetJumpLabel(normal_entry()));
6532 } 6543 }
6533 } 6544 }
6534 6545
6535 6546
6536 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, 6547 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone,
6537 bool opt) const { 6548 bool opt) const {
6538 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6549 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
6873 __ Drop(1); 6884 __ Drop(1);
6874 __ popl(result); 6885 __ popl(result);
6875 } 6886 }
6876 6887
6877 6888
6878 } // namespace dart 6889 } // namespace dart
6879 6890
6880 #undef __ 6891 #undef __
6881 6892
6882 #endif // defined TARGET_ARCH_IA32 6893 #endif // defined TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698