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

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

Issue 14858033: Implement breakpoint for closure calls (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/debugger_x64.cc ('k') | runtime/vm/intermediate_language_ia32.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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // descriptor. 148 // descriptor.
149 Register temp_reg = locs()->temp(0).reg(); 149 Register temp_reg = locs()->temp(0).reg();
150 int argument_count = ArgumentCount(); 150 int argument_count = ArgumentCount();
151 const Array& arguments_descriptor = 151 const Array& arguments_descriptor =
152 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, 152 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count,
153 argument_names())); 153 argument_names()));
154 __ LoadObject(temp_reg, arguments_descriptor); 154 __ LoadObject(temp_reg, arguments_descriptor);
155 compiler->GenerateDartCall(deopt_id(), 155 compiler->GenerateDartCall(deopt_id(),
156 token_pos(), 156 token_pos(),
157 &StubCode::CallClosureFunctionLabel(), 157 &StubCode::CallClosureFunctionLabel(),
158 PcDescriptors::kOther, 158 PcDescriptors::kClosureCall,
159 locs()); 159 locs());
160 __ Drop(argument_count); 160 __ Drop(argument_count);
161 } 161 }
162 162
163 163
164 LocationSummary* LoadLocalInstr::MakeLocationSummary() const { 164 LocationSummary* LoadLocalInstr::MakeLocationSummary() const {
165 return LocationSummary::Make(0, 165 return LocationSummary::Make(0,
166 Location::RequiresRegister(), 166 Location::RequiresRegister(),
167 LocationSummary::kNoCall); 167 LocationSummary::kNoCall);
168 } 168 }
(...skipping 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 compiler->GenerateCall(token_pos(), 2796 compiler->GenerateCall(token_pos(),
2797 &label, 2797 &label,
2798 PcDescriptors::kOther, 2798 PcDescriptors::kOther,
2799 locs()); 2799 locs());
2800 __ Drop(2); // Discard type arguments and receiver. 2800 __ Drop(2); // Discard type arguments and receiver.
2801 } 2801 }
2802 2802
2803 } // namespace dart 2803 } // namespace dart
2804 2804
2805 #endif // defined TARGET_ARCH_ARM 2805 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/debugger_x64.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698