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

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

Issue 1723733002: Simplify various name flavors in VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 years, 9 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
« 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/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 const Class& cls, 1836 const Class& cls,
1837 Register result) 1837 Register result)
1838 : instruction_(instruction), 1838 : instruction_(instruction),
1839 cls_(cls), 1839 cls_(cls),
1840 result_(result) { } 1840 result_(result) { }
1841 1841
1842 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 1842 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
1843 if (Assembler::EmittingComments()) { 1843 if (Assembler::EmittingComments()) {
1844 __ Comment("%s slow path allocation of %s", 1844 __ Comment("%s slow path allocation of %s",
1845 instruction_->DebugName(), 1845 instruction_->DebugName(),
1846 String::Handle(cls_.PrettyName()).ToCString()); 1846 String::Handle(cls_.ScrubbedName()).ToCString());
1847 } 1847 }
1848 __ Bind(entry_label()); 1848 __ Bind(entry_label());
1849 const Code& stub = Code::ZoneHandle( 1849 const Code& stub = Code::ZoneHandle(
1850 compiler->zone(), StubCode::GetAllocationStubForClass(cls_)); 1850 compiler->zone(), StubCode::GetAllocationStubForClass(cls_));
1851 const StubEntry stub_entry(stub); 1851 const StubEntry stub_entry(stub);
1852 1852
1853 LocationSummary* locs = instruction_->locs(); 1853 LocationSummary* locs = instruction_->locs();
1854 locs->live_registers()->Remove(Location::RegisterLocation(result_)); 1854 locs->live_registers()->Remove(Location::RegisterLocation(result_));
1855 1855
1856 compiler->SaveLiveRegisters(locs); 1856 compiler->SaveLiveRegisters(locs);
(...skipping 3740 matching lines...) Expand 10 before | Expand all | Expand 10 after
5597 1, 5597 1,
5598 locs()); 5598 locs());
5599 __ lw(result, Address(SP, 1 * kWordSize)); 5599 __ lw(result, Address(SP, 1 * kWordSize));
5600 __ addiu(SP, SP, Immediate(2 * kWordSize)); 5600 __ addiu(SP, SP, Immediate(2 * kWordSize));
5601 } 5601 }
5602 5602
5603 5603
5604 } // namespace dart 5604 } // namespace dart
5605 5605
5606 #endif // defined TARGET_ARCH_MIPS 5606 #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