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

Side by Side Diff: runtime/vm/intermediate_language_x64.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
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/runtime_entry_arm.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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 5987 matching lines...) Expand 10 before | Expand all | Expand 10 after
5998 RawPcDescriptors::kOther, 5998 RawPcDescriptors::kOther,
5999 locs()); 5999 locs());
6000 __ Drop(ArgumentCount()); // Discard arguments. 6000 __ Drop(ArgumentCount()); // Discard arguments.
6001 } 6001 }
6002 6002
6003 6003
6004 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6004 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6005 ASSERT(!compiler->is_optimizing()); 6005 ASSERT(!compiler->is_optimizing());
6006 StubCode* stub_code = compiler->isolate()->stub_code(); 6006 StubCode* stub_code = compiler->isolate()->stub_code();
6007 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 6007 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
6008 __ movq(R10, Immediate(0));
6009 __ movq(RBX, Immediate(0));
6010 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6008 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6011 #if defined(DEBUG) 6009 #if defined(DEBUG)
6012 __ movq(R10, Immediate(kInvalidObjectPointer)); 6010 __ movq(R10, Immediate(kInvalidObjectPointer));
6013 __ movq(RBX, Immediate(kInvalidObjectPointer)); 6011 __ movq(RBX, Immediate(kInvalidObjectPointer));
6014 #endif 6012 #endif
6015 } 6013 }
6016 6014
6017 } // namespace dart 6015 } // namespace dart
6018 6016
6019 #undef __ 6017 #undef __
6020 6018
6021 #endif // defined TARGET_ARCH_X64 6019 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/runtime_entry_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698