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

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

Issue 12398029: Remove the barely used macro assemblers after merging their contents to the base (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/intermediate_language_arm.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_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/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 Immediate(FLAG_optimization_counter_threshold)); 915 Immediate(FLAG_optimization_counter_threshold));
916 ASSERT(function_reg == RDI); 916 ASSERT(function_reg == RDI);
917 __ j(GREATER_EQUAL, &StubCode::OptimizeFunctionLabel()); 917 __ j(GREATER_EQUAL, &StubCode::OptimizeFunctionLabel());
918 } 918 }
919 } else { 919 } else {
920 AddCurrentDescriptor(PcDescriptors::kEntryPatch, 920 AddCurrentDescriptor(PcDescriptors::kEntryPatch,
921 Isolate::kNoDeoptId, 921 Isolate::kNoDeoptId,
922 0); // No token position. 922 0); // No token position.
923 } 923 }
924 __ Comment("Enter frame"); 924 __ Comment("Enter frame");
925 AssemblerMacros::EnterDartFrame(assembler(), (StackSize() * kWordSize)); 925 __ EnterDartFrame((StackSize() * kWordSize));
926 } 926 }
927 927
928 928
929 void FlowGraphCompiler::CompileGraph() { 929 void FlowGraphCompiler::CompileGraph() {
930 InitCompiler(); 930 InitCompiler();
931 if (TryIntrinsify()) { 931 if (TryIntrinsify()) {
932 // Although this intrinsified code will never be patched, it must satisfy 932 // Although this intrinsified code will never be patched, it must satisfy
933 // CodePatcher::CodeIsPatchable, which verifies that this code has a minimum 933 // CodePatcher::CodeIsPatchable, which verifies that this code has a minimum
934 // code size, and nop(2) increases the minimum code size appropriately. 934 // code size, and nop(2) increases the minimum code size appropriately.
935 __ nop(2); 935 __ nop(2);
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) { 1695 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) {
1696 __ Exchange(mem1, mem2); 1696 __ Exchange(mem1, mem2);
1697 } 1697 }
1698 1698
1699 1699
1700 #undef __ 1700 #undef __
1701 1701
1702 } // namespace dart 1702 } // namespace dart
1703 1703
1704 #endif // defined TARGET_ARCH_X64 1704 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698