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

Side by Side Diff: runtime/vm/intermediate_language_arm64.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, 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
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/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 const Class& cls, 1668 const Class& cls,
1669 Register result) 1669 Register result)
1670 : instruction_(instruction), 1670 : instruction_(instruction),
1671 cls_(cls), 1671 cls_(cls),
1672 result_(result) { } 1672 result_(result) { }
1673 1673
1674 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 1674 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
1675 if (Assembler::EmittingComments()) { 1675 if (Assembler::EmittingComments()) {
1676 __ Comment("%s slow path allocation of %s", 1676 __ Comment("%s slow path allocation of %s",
1677 instruction_->DebugName(), 1677 instruction_->DebugName(),
1678 String::Handle(cls_.PrettyName()).ToCString()); 1678 String::Handle(cls_.ScrubbedName()).ToCString());
1679 } 1679 }
1680 __ Bind(entry_label()); 1680 __ Bind(entry_label());
1681 const Code& stub = Code::ZoneHandle(compiler->zone(), 1681 const Code& stub = Code::ZoneHandle(compiler->zone(),
1682 StubCode::GetAllocationStubForClass(cls_)); 1682 StubCode::GetAllocationStubForClass(cls_));
1683 const StubEntry stub_entry(stub); 1683 const StubEntry stub_entry(stub);
1684 1684
1685 LocationSummary* locs = instruction_->locs(); 1685 LocationSummary* locs = instruction_->locs();
1686 1686
1687 locs->live_registers()->Remove(Location::RegisterLocation(result_)); 1687 locs->live_registers()->Remove(Location::RegisterLocation(result_));
1688 1688
(...skipping 3898 matching lines...) Expand 10 before | Expand all | Expand 10 after
5587 1, 5587 1,
5588 locs()); 5588 locs());
5589 __ Drop(1); 5589 __ Drop(1);
5590 __ Pop(result); 5590 __ Pop(result);
5591 } 5591 }
5592 5592
5593 5593
5594 } // namespace dart 5594 } // namespace dart
5595 5595
5596 #endif // defined TARGET_ARCH_ARM64 5596 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698