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

Side by Side Diff: runtime/vm/intermediate_language_x64.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_mips.cc ('k') | runtime/vm/raw_object.h » ('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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 6393 matching lines...) Expand 10 before | Expand all | Expand 10 after
6404 compiler->AddStubCallTarget(stub); 6404 compiler->AddStubCallTarget(stub);
6405 __ Drop(ArgumentCount()); // Discard arguments. 6405 __ Drop(ArgumentCount()); // Discard arguments.
6406 } 6406 }
6407 6407
6408 6408
6409 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6409 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6410 ASSERT(!compiler->is_optimizing()); 6410 ASSERT(!compiler->is_optimizing());
6411 StubCode* stub_code = compiler->isolate()->stub_code(); 6411 StubCode* stub_code = compiler->isolate()->stub_code();
6412 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); 6412 const ExternalLabel label(stub_code->DebugStepCheckEntryPoint());
6413 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 6413 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
6414 #if defined(DEBUG)
6415 __ movq(R10, Immediate(kInvalidObjectPointer));
6416 __ movq(RBX, Immediate(kInvalidObjectPointer));
6417 #endif
6418 } 6414 }
6419 6415
6420 6416
6421 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 6417 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
6422 Zone* zone, bool opt) const { 6418 Zone* zone, bool opt) const {
6423 const intptr_t kNumInputs = 1; 6419 const intptr_t kNumInputs = 1;
6424 const intptr_t kNumTemps = 0; 6420 const intptr_t kNumTemps = 0;
6425 LocationSummary* locs = new(zone) LocationSummary( 6421 LocationSummary* locs = new(zone) LocationSummary(
6426 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 6422 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
6427 locs->set_in(0, Location::RegisterLocation(RAX)); 6423 locs->set_in(0, Location::RegisterLocation(RAX));
(...skipping 15 matching lines...) Expand all
6443 __ Drop(1); 6439 __ Drop(1);
6444 __ popq(result); 6440 __ popq(result);
6445 } 6441 }
6446 6442
6447 6443
6448 } // namespace dart 6444 } // namespace dart
6449 6445
6450 #undef __ 6446 #undef __
6451 6447
6452 #endif // defined TARGET_ARCH_X64 6448 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698