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

Side by Side Diff: runtime/vm/intermediate_language_arm.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/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language_arm64.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_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 6829 matching lines...) Expand 10 before | Expand all | Expand 10 after
6840 compiler->AddStubCallTarget(stub); 6840 compiler->AddStubCallTarget(stub);
6841 __ Drop(ArgumentCount()); // Discard arguments. 6841 __ Drop(ArgumentCount()); // Discard arguments.
6842 } 6842 }
6843 6843
6844 6844
6845 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6845 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6846 ASSERT(!compiler->is_optimizing()); 6846 ASSERT(!compiler->is_optimizing());
6847 StubCode* stub_code = compiler->isolate()->stub_code(); 6847 StubCode* stub_code = compiler->isolate()->stub_code();
6848 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 6848 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
6849 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6849 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6850 #if defined(DEBUG)
6851 __ LoadImmediate(R4, kInvalidObjectPointer);
6852 __ LoadImmediate(R5, kInvalidObjectPointer);
6853 #endif
6854 } 6850 }
6855 6851
6856 6852
6857 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 6853 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
6858 Zone* zone, bool opt) const { 6854 Zone* zone, bool opt) const {
6859 const intptr_t kNumInputs = 1; 6855 const intptr_t kNumInputs = 1;
6860 const intptr_t kNumTemps = 0; 6856 const intptr_t kNumTemps = 0;
6861 LocationSummary* locs = new(zone) LocationSummary( 6857 LocationSummary* locs = new(zone) LocationSummary(
6862 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 6858 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
6863 locs->set_in(0, Location::RegisterLocation(R0)); 6859 locs->set_in(0, Location::RegisterLocation(R0));
(...skipping 13 matching lines...) Expand all
6877 1, 6873 1,
6878 locs()); 6874 locs());
6879 __ Drop(1); 6875 __ Drop(1);
6880 __ Pop(result); 6876 __ Pop(result);
6881 } 6877 }
6882 6878
6883 6879
6884 } // namespace dart 6880 } // namespace dart
6885 6881
6886 #endif // defined TARGET_ARCH_ARM 6882 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698