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

Side by Side Diff: runtime/vm/intermediate_language_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
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 5349 matching lines...) Expand 10 before | Expand all | Expand 10 after
5360 RawPcDescriptors::kOther, 5360 RawPcDescriptors::kOther,
5361 locs()); 5361 locs());
5362 __ Drop(ArgumentCount()); // Discard arguments. 5362 __ Drop(ArgumentCount()); // Discard arguments.
5363 } 5363 }
5364 5364
5365 5365
5366 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5366 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5367 ASSERT(!compiler->is_optimizing()); 5367 ASSERT(!compiler->is_optimizing());
5368 StubCode* stub_code = compiler->isolate()->stub_code(); 5368 StubCode* stub_code = compiler->isolate()->stub_code();
5369 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 5369 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
5370 __ LoadImmediate(R4, 0, kNoPP);
5371 __ LoadImmediate(R5, 0, kNoPP);
5372 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 5370 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
5373 #if defined(DEBUG) 5371 #if defined(DEBUG)
5374 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP); 5372 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP);
5375 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP); 5373 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP);
5376 #endif 5374 #endif
5377 } 5375 }
5378 5376
5379 } // namespace dart 5377 } // namespace dart
5380 5378
5381 #endif // defined TARGET_ARCH_ARM64 5379 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698