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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.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
« 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void FlowGraphCompiler::ExitIntrinsicMode() { 70 void FlowGraphCompiler::ExitIntrinsicMode() {
71 ASSERT(intrinsic_mode()); 71 ASSERT(intrinsic_mode());
72 intrinsic_mode_ = false; 72 intrinsic_mode_ = false;
73 } 73 }
74 74
75 75
76 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 76 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
77 DeoptInfoBuilder* builder, 77 DeoptInfoBuilder* builder,
78 const Array& deopt_table) { 78 const Array& deopt_table) {
79 if (deopt_env_ == NULL) { 79 if (deopt_env_ == NULL) {
80 ++builder->current_info_number_;
Florian Schneider 2014/11/20 17:11:14 My CL corrects the index used in compression of fo
80 return DeoptInfo::null(); 81 return DeoptInfo::null();
81 } 82 }
82 83
83 intptr_t stack_height = compiler->StackSize(); 84 intptr_t stack_height = compiler->StackSize();
84 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); 85 AllocateIncomingParametersRecursive(deopt_env_, &stack_height);
85 86
86 intptr_t slot_ix = 0; 87 intptr_t slot_ix = 0;
87 Environment* current = deopt_env_; 88 Environment* current = deopt_env_;
88 89
89 // Emit all kMaterializeObject instructions describing objects to be 90 // Emit all kMaterializeObject instructions describing objects to be
(...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 __ movups(reg, Address(ESP, 0)); 1817 __ movups(reg, Address(ESP, 0));
1817 __ addl(ESP, Immediate(kFpuRegisterSize)); 1818 __ addl(ESP, Immediate(kFpuRegisterSize));
1818 } 1819 }
1819 1820
1820 1821
1821 #undef __ 1822 #undef __
1822 1823
1823 } // namespace dart 1824 } // namespace dart
1824 1825
1825 #endif // defined TARGET_ARCH_IA32 1826 #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