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

Side by Side Diff: runtime/vm/intermediate_language_mips.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_ia32.cc ('k') | runtime/vm/intermediate_language_x64.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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 5562 matching lines...) Expand 10 before | Expand all | Expand 10 after
5573 compiler->AddStubCallTarget(stub); 5573 compiler->AddStubCallTarget(stub);
5574 __ Drop(ArgumentCount()); // Discard arguments. 5574 __ Drop(ArgumentCount()); // Discard arguments.
5575 } 5575 }
5576 5576
5577 5577
5578 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5578 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5579 ASSERT(!compiler->is_optimizing()); 5579 ASSERT(!compiler->is_optimizing());
5580 StubCode* stub_code = compiler->isolate()->stub_code(); 5580 StubCode* stub_code = compiler->isolate()->stub_code();
5581 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 5581 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
5582 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 5582 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
5583 #if defined(DEBUG)
5584 __ LoadImmediate(S4, kInvalidObjectPointer);
5585 __ LoadImmediate(S5, kInvalidObjectPointer);
5586 #endif
5587 } 5583 }
5588 5584
5589 5585
5590 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 5586 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
5591 Zone* zone, bool opt) const { 5587 Zone* zone, bool opt) const {
5592 const intptr_t kNumInputs = 1; 5588 const intptr_t kNumInputs = 1;
5593 const intptr_t kNumTemps = 0; 5589 const intptr_t kNumTemps = 0;
5594 LocationSummary* locs = new(zone) LocationSummary( 5590 LocationSummary* locs = new(zone) LocationSummary(
5595 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 5591 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
5596 locs->set_in(0, Location::RegisterLocation(T0)); 5592 locs->set_in(0, Location::RegisterLocation(T0));
(...skipping 16 matching lines...) Expand all
5613 1, 5609 1,
5614 locs()); 5610 locs());
5615 __ lw(result, Address(SP, 1 * kWordSize)); 5611 __ lw(result, Address(SP, 1 * kWordSize));
5616 __ addiu(SP, SP, Immediate(2 * kWordSize)); 5612 __ addiu(SP, SP, Immediate(2 * kWordSize));
5617 } 5613 }
5618 5614
5619 5615
5620 } // namespace dart 5616 } // namespace dart
5621 5617
5622 #endif // defined TARGET_ARCH_MIPS 5618 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698