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

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

Issue 1723733002: Simplify various name flavors in VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address what was discussed in meeting Created 4 years, 10 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
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/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1805 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 const Class& cls, 1816 const Class& cls,
1817 Register result) 1817 Register result)
1818 : instruction_(instruction), 1818 : instruction_(instruction),
1819 cls_(cls), 1819 cls_(cls),
1820 result_(result) { } 1820 result_(result) { }
1821 1821
1822 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 1822 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
1823 if (Assembler::EmittingComments()) { 1823 if (Assembler::EmittingComments()) {
1824 __ Comment("%s slow path allocation of %s", 1824 __ Comment("%s slow path allocation of %s",
1825 instruction_->DebugName(), 1825 instruction_->DebugName(),
1826 String::Handle(cls_.PrettyName()).ToCString()); 1826 String::Handle(cls_.ScrubbedName()).ToCString());
1827 } 1827 }
1828 __ Bind(entry_label()); 1828 __ Bind(entry_label());
1829 const Code& stub = Code::ZoneHandle( 1829 const Code& stub = Code::ZoneHandle(
1830 compiler->zone(), StubCode::GetAllocationStubForClass(cls_)); 1830 compiler->zone(), StubCode::GetAllocationStubForClass(cls_));
1831 const StubEntry stub_entry(stub); 1831 const StubEntry stub_entry(stub);
1832 1832
1833 LocationSummary* locs = instruction_->locs(); 1833 LocationSummary* locs = instruction_->locs();
1834 1834
1835 locs->live_registers()->Remove(Location::RegisterLocation(result_)); 1835 locs->live_registers()->Remove(Location::RegisterLocation(result_));
1836 1836
(...skipping 4992 matching lines...) Expand 10 before | Expand all | Expand 10 after
6829 1, 6829 1,
6830 locs()); 6830 locs());
6831 __ Drop(1); 6831 __ Drop(1);
6832 __ Pop(result); 6832 __ Pop(result);
6833 } 6833 }
6834 6834
6835 6835
6836 } // namespace dart 6836 } // namespace dart
6837 6837
6838 #endif // defined TARGET_ARCH_ARM 6838 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698