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

Side by Side Diff: runtime/vm/intermediate_language_ia32.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_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 6295 matching lines...) Expand 10 before | Expand all | Expand 10 after
6306 &label, 6306 &label,
6307 PcDescriptors::kOther, 6307 PcDescriptors::kOther,
6308 locs()); 6308 locs());
6309 __ Drop(ArgumentCount()); // Discard arguments. 6309 __ Drop(ArgumentCount()); // Discard arguments.
6310 } 6310 }
6311 6311
6312 6312
6313 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6313 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6314 ASSERT(!compiler->is_optimizing()); 6314 ASSERT(!compiler->is_optimizing());
6315 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); 6315 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint());
6316 __ movl(EDX, Immediate(0));
6317 __ movl(ECX, Immediate(0));
6318 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6316 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6319 #if defined(DEBUG) 6317 #if defined(DEBUG)
6320 __ movl(EDX, Immediate(kInvalidObjectPointer)); 6318 __ movl(EDX, Immediate(kInvalidObjectPointer));
6321 __ movl(EDX, Immediate(kInvalidObjectPointer)); 6319 __ movl(EDX, Immediate(kInvalidObjectPointer));
6322 #endif 6320 #endif
6323 } 6321 }
6324 6322
6325 } // namespace dart 6323 } // namespace dart
6326 6324
6327 #undef __ 6325 #undef __
6328 6326
6329 #endif // defined TARGET_ARCH_IA32 6327 #endif // defined TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698