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

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

Issue 744793002: Reland and fix bug: Don't store redundant compile-type at values. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month 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) 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/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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ASSERT(intrinsic_mode()); 66 ASSERT(intrinsic_mode());
67 intrinsic_mode_ = false; 67 intrinsic_mode_ = false;
68 assembler()->set_allow_constant_pool(true); 68 assembler()->set_allow_constant_pool(true);
69 } 69 }
70 70
71 71
72 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 72 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
73 DeoptInfoBuilder* builder, 73 DeoptInfoBuilder* builder,
74 const Array& deopt_table) { 74 const Array& deopt_table) {
75 if (deopt_env_ == NULL) { 75 if (deopt_env_ == NULL) {
76 ++builder->current_info_number_;
76 return DeoptInfo::null(); 77 return DeoptInfo::null();
77 } 78 }
78 79
79 intptr_t stack_height = compiler->StackSize(); 80 intptr_t stack_height = compiler->StackSize();
80 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); 81 AllocateIncomingParametersRecursive(deopt_env_, &stack_height);
81 82
82 intptr_t slot_ix = 0; 83 intptr_t slot_ix = 0;
83 Environment* current = deopt_env_; 84 Environment* current = deopt_env_;
84 85
85 // Emit all kMaterializeObject instructions describing objects to be 86 // Emit all kMaterializeObject instructions describing objects to be
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1807 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1807 __ PopDouble(reg); 1808 __ PopDouble(reg);
1808 } 1809 }
1809 1810
1810 1811
1811 #undef __ 1812 #undef __
1812 1813
1813 } // namespace dart 1814 } // namespace dart
1814 1815
1815 #endif // defined TARGET_ARCH_ARM64 1816 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698