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

Side by Side Diff: runtime/vm/intermediate_language_x64.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_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/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 const Class& cls, 1672 const Class& cls,
1673 Register result) 1673 Register result)
1674 : instruction_(instruction), 1674 : instruction_(instruction),
1675 cls_(cls), 1675 cls_(cls),
1676 result_(result) { } 1676 result_(result) { }
1677 1677
1678 virtual void EmitNativeCode(FlowGraphCompiler* compiler) { 1678 virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
1679 if (Assembler::EmittingComments()) { 1679 if (Assembler::EmittingComments()) {
1680 __ Comment("%s slow path allocation of %s", 1680 __ Comment("%s slow path allocation of %s",
1681 instruction_->DebugName(), 1681 instruction_->DebugName(),
1682 String::Handle(cls_.PrettyName()).ToCString()); 1682 String::Handle(cls_.ScrubbedName()).ToCString());
1683 } 1683 }
1684 __ Bind(entry_label()); 1684 __ Bind(entry_label());
1685 const Code& stub = Code::ZoneHandle(compiler->zone(), 1685 const Code& stub = Code::ZoneHandle(compiler->zone(),
1686 StubCode::GetAllocationStubForClass(cls_)); 1686 StubCode::GetAllocationStubForClass(cls_));
1687 const StubEntry stub_entry(stub); 1687 const StubEntry stub_entry(stub);
1688 1688
1689 LocationSummary* locs = instruction_->locs(); 1689 LocationSummary* locs = instruction_->locs();
1690 1690
1691 locs->live_registers()->Remove(Location::RegisterLocation(result_)); 1691 locs->live_registers()->Remove(Location::RegisterLocation(result_));
1692 1692
(...skipping 4709 matching lines...) Expand 10 before | Expand all | Expand 10 after
6402 __ Drop(1); 6402 __ Drop(1);
6403 __ popq(result); 6403 __ popq(result);
6404 } 6404 }
6405 6405
6406 6406
6407 } // namespace dart 6407 } // namespace dart
6408 6408
6409 #undef __ 6409 #undef __
6410 6410
6411 #endif // defined TARGET_ARCH_X64 6411 #endif // defined TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698