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

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

Issue 339183010: Specialize breakpoint stubs by set of live registers of the stubs they are intercepting. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 4668 matching lines...) Expand 10 before | Expand all | Expand 10 after
4679 &label, 4679 &label,
4680 PcDescriptors::kOther, 4680 PcDescriptors::kOther,
4681 locs()); 4681 locs());
4682 __ Drop(ArgumentCount()); // Discard arguments. 4682 __ Drop(ArgumentCount()); // Discard arguments.
4683 } 4683 }
4684 4684
4685 4685
4686 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 4686 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
4687 ASSERT(!compiler->is_optimizing()); 4687 ASSERT(!compiler->is_optimizing());
4688 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); 4688 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint());
4689 __ LoadImmediate(S4, 0);
4690 __ LoadImmediate(S5, 0);
4691 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 4689 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
4692 #if defined(DEBUG) 4690 #if defined(DEBUG)
4693 __ LoadImmediate(S4, kInvalidObjectPointer); 4691 __ LoadImmediate(S4, kInvalidObjectPointer);
4694 __ LoadImmediate(S5, kInvalidObjectPointer); 4692 __ LoadImmediate(S5, kInvalidObjectPointer);
4695 #endif 4693 #endif
4696 } 4694 }
4697 4695
4698 } // namespace dart 4696 } // namespace dart
4699 4697
4700 #endif // defined TARGET_ARCH_MIPS 4698 #endif // defined TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698