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

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

Issue 1075493003: Remove zapping of registers that has not turned up any GC bugs in a long time. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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_arm64.cc ('k') | runtime/vm/intermediate_language_mips.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_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 6827 matching lines...) Expand 10 before | Expand all | Expand 10 after
6838 compiler->AddStubCallTarget(stub); 6838 compiler->AddStubCallTarget(stub);
6839 __ Drop(ArgumentCount()); // Discard arguments. 6839 __ Drop(ArgumentCount()); // Discard arguments.
6840 } 6840 }
6841 6841
6842 6842
6843 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6843 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6844 ASSERT(!compiler->is_optimizing()); 6844 ASSERT(!compiler->is_optimizing());
6845 StubCode* stub_code = compiler->isolate()->stub_code(); 6845 StubCode* stub_code = compiler->isolate()->stub_code();
6846 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 6846 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
6847 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6847 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6848 #if defined(DEBUG)
6849 __ movl(EDX, Immediate(kInvalidObjectPointer));
6850 #endif
6851 } 6848 }
6852 6849
6853 6850
6854 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 6851 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
6855 Zone* zone, bool opt) const { 6852 Zone* zone, bool opt) const {
6856 const intptr_t kNumInputs = 1; 6853 const intptr_t kNumInputs = 1;
6857 const intptr_t kNumTemps = 0; 6854 const intptr_t kNumTemps = 0;
6858 LocationSummary* locs = new(zone) LocationSummary( 6855 LocationSummary* locs = new(zone) LocationSummary(
6859 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 6856 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
6860 locs->set_in(0, Location::RegisterLocation(EAX)); 6857 locs->set_in(0, Location::RegisterLocation(EAX));
(...skipping 15 matching lines...) Expand all
6876 __ Drop(1); 6873 __ Drop(1);
6877 __ popl(result); 6874 __ popl(result);
6878 } 6875 }
6879 6876
6880 6877
6881 } // namespace dart 6878 } // namespace dart
6882 6879
6883 #undef __ 6880 #undef __
6884 6881
6885 #endif // defined TARGET_ARCH_IA32 6882 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698