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

Side by Side Diff: runtime/vm/intermediate_language_arm.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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 6436 matching lines...) Expand 10 before | Expand all | Expand 10 after
6447 RawPcDescriptors::kOther, 6447 RawPcDescriptors::kOther,
6448 locs()); 6448 locs());
6449 __ Drop(ArgumentCount()); // Discard arguments. 6449 __ Drop(ArgumentCount()); // Discard arguments.
6450 } 6450 }
6451 6451
6452 6452
6453 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6453 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6454 ASSERT(!compiler->is_optimizing()); 6454 ASSERT(!compiler->is_optimizing());
6455 StubCode* stub_code = compiler->isolate()->stub_code(); 6455 StubCode* stub_code = compiler->isolate()->stub_code();
6456 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 6456 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
6457 __ LoadImmediate(R4, 0);
6458 __ LoadImmediate(R5, 0);
6459 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6457 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6460 #if defined(DEBUG) 6458 #if defined(DEBUG)
6461 __ LoadImmediate(R4, kInvalidObjectPointer); 6459 __ LoadImmediate(R4, kInvalidObjectPointer);
6462 __ LoadImmediate(R5, kInvalidObjectPointer); 6460 __ LoadImmediate(R5, kInvalidObjectPointer);
6463 #endif 6461 #endif
6464 } 6462 }
6465 6463
6466 } // namespace dart 6464 } // namespace dart
6467 6465
6468 #endif // defined TARGET_ARCH_ARM 6466 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698