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

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

Issue 540303002: Fix xcode build for real. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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
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 "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return FLAG_enable_simd_inline; 50 return FLAG_enable_simd_inline;
51 } 51 }
52 52
53 53
54 54
55 bool FlowGraphCompiler::SupportsSinCos() { 55 bool FlowGraphCompiler::SupportsSinCos() {
56 return true; 56 return true;
57 } 57 }
58 58
59 59
60 intptr_t FlowGraphCompiler::PlatformBlockedRegisterMask() {
61 COMPILE_ASSERT(TMP2 == kNoRegister);
62 return 1 << CTX | 1 << SPREG | 1 << FPREG | 1 << TMP | 1 << PP;
63 }
64
65
60 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 66 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
61 DeoptInfoBuilder* builder, 67 DeoptInfoBuilder* builder,
62 const Array& deopt_table) { 68 const Array& deopt_table) {
63 if (deopt_env_ == NULL) { 69 if (deopt_env_ == NULL) {
64 return DeoptInfo::null(); 70 return DeoptInfo::null();
65 } 71 }
66 72
67 intptr_t stack_height = compiler->StackSize(); 73 intptr_t stack_height = compiler->StackSize();
68 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); 74 AllocateIncomingParametersRecursive(deopt_env_, &stack_height);
69 75
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 __ movups(reg, Address(RSP, 0)); 1716 __ movups(reg, Address(RSP, 0));
1711 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP); 1717 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP);
1712 } 1718 }
1713 1719
1714 1720
1715 #undef __ 1721 #undef __
1716 1722
1717 } // namespace dart 1723 } // namespace dart
1718 1724
1719 #endif // defined TARGET_ARCH_X64 1725 #endif // defined TARGET_ARCH_X64
OLDNEW
« runtime/vm/flow_graph_compiler.cc ('K') | « runtime/vm/flow_graph_compiler_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698