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

Side by Side Diff: runtime/vm/intermediate_language_arm64.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_arm.cc ('k') | runtime/vm/intermediate_language_ia32.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
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 5591 matching lines...) Expand 10 before | Expand all | Expand 10 after
5602 compiler->AddStubCallTarget(stub); 5602 compiler->AddStubCallTarget(stub);
5603 __ Drop(ArgumentCount()); // Discard arguments. 5603 __ Drop(ArgumentCount()); // Discard arguments.
5604 } 5604 }
5605 5605
5606 5606
5607 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 5607 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
5608 ASSERT(!compiler->is_optimizing()); 5608 ASSERT(!compiler->is_optimizing());
5609 StubCode* stub_code = compiler->isolate()->stub_code(); 5609 StubCode* stub_code = compiler->isolate()->stub_code();
5610 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 5610 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
5611 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 5611 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
5612 #if defined(DEBUG)
5613 __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP);
5614 __ LoadImmediate(R5, kInvalidObjectPointer, kNoPP);
5615 #endif
5616 } 5612 }
5617 5613
5618 5614
5619 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 5615 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
5620 Zone* zone, bool opt) const { 5616 Zone* zone, bool opt) const {
5621 const intptr_t kNumInputs = 1; 5617 const intptr_t kNumInputs = 1;
5622 const intptr_t kNumTemps = 0; 5618 const intptr_t kNumTemps = 0;
5623 LocationSummary* locs = new(zone) LocationSummary( 5619 LocationSummary* locs = new(zone) LocationSummary(
5624 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 5620 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
5625 locs->set_in(0, Location::RegisterLocation(R0)); 5621 locs->set_in(0, Location::RegisterLocation(R0));
(...skipping 13 matching lines...) Expand all
5639 1, 5635 1,
5640 locs()); 5636 locs());
5641 __ Drop(1); 5637 __ Drop(1);
5642 __ Pop(result); 5638 __ Pop(result);
5643 } 5639 }
5644 5640
5645 5641
5646 } // namespace dart 5642 } // namespace dart
5647 5643
5648 #endif // defined TARGET_ARCH_ARM64 5644 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698