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

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

Issue 263243002: Enables many language tests for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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_arm64.cc ('k') | runtime/vm/flow_graph_compiler_mips.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 56
57 bool FlowGraphCompiler::SupportsSinCos() { 57 bool FlowGraphCompiler::SupportsSinCos() {
58 return true; 58 return true;
59 } 59 }
60 60
61 61
62 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 62 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
63 DeoptInfoBuilder* builder, 63 DeoptInfoBuilder* builder,
64 const Array& deopt_table) { 64 const Array& deopt_table) {
65 if (deopt_env_ == NULL) return DeoptInfo::null(); 65 if (deopt_env_ == NULL) {
66 return DeoptInfo::null();
67 }
66 68
67 intptr_t stack_height = compiler->StackSize(); 69 intptr_t stack_height = compiler->StackSize();
68 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); 70 AllocateIncomingParametersRecursive(deopt_env_, &stack_height);
69 71
70 intptr_t slot_ix = 0; 72 intptr_t slot_ix = 0;
71 Environment* current = deopt_env_; 73 Environment* current = deopt_env_;
72 74
73 // Emit all kMaterializeObject instructions describing objects to be 75 // Emit all kMaterializeObject instructions describing objects to be
74 // materialized on the deoptimization as a prefix to the deoptimization info. 76 // materialized on the deoptimization as a prefix to the deoptimization info.
75 EmitMaterializations(deopt_env_, builder); 77 EmitMaterializations(deopt_env_, builder);
(...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 __ movups(reg, Address(ESP, 0)); 1820 __ movups(reg, Address(ESP, 0));
1819 __ addl(ESP, Immediate(kFpuRegisterSize)); 1821 __ addl(ESP, Immediate(kFpuRegisterSize));
1820 } 1822 }
1821 1823
1822 1824
1823 #undef __ 1825 #undef __
1824 1826
1825 } // namespace dart 1827 } // namespace dart
1826 1828
1827 #endif // defined TARGET_ARCH_IA32 1829 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698