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

Side by Side Diff: runtime/vm/intermediate_language_mips.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/intermediate_language_ia32.cc ('k') | runtime/vm/intermediate_language_x64.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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // descriptor. 150 // descriptor.
151 Register temp_reg = locs()->temp(0).reg(); 151 Register temp_reg = locs()->temp(0).reg();
152 int argument_count = ArgumentCount(); 152 int argument_count = ArgumentCount();
153 const Array& arguments_descriptor = 153 const Array& arguments_descriptor =
154 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, 154 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count,
155 argument_names())); 155 argument_names()));
156 __ LoadObject(temp_reg, arguments_descriptor); 156 __ LoadObject(temp_reg, arguments_descriptor);
157 compiler->GenerateDartCall(deopt_id(), 157 compiler->GenerateDartCall(deopt_id(),
158 token_pos(), 158 token_pos(),
159 &StubCode::CallClosureFunctionLabel(), 159 &StubCode::CallClosureFunctionLabel(),
160 PcDescriptors::kOther, 160 PcDescriptors::kClosureCall,
161 locs()); 161 locs());
162 __ Drop(argument_count); 162 __ Drop(argument_count);
163 } 163 }
164 164
165 165
166 LocationSummary* LoadLocalInstr::MakeLocationSummary() const { 166 LocationSummary* LoadLocalInstr::MakeLocationSummary() const {
167 return LocationSummary::Make(0, 167 return LocationSummary::Make(0,
168 Location::RequiresRegister(), 168 Location::RequiresRegister(),
169 LocationSummary::kNoCall); 169 LocationSummary::kNoCall);
170 } 170 }
(...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 compiler->GenerateCall(token_pos(), 2826 compiler->GenerateCall(token_pos(),
2827 &label, 2827 &label,
2828 PcDescriptors::kOther, 2828 PcDescriptors::kOther,
2829 locs()); 2829 locs());
2830 __ Drop(2); // Discard type arguments and receiver. 2830 __ Drop(2); // Discard type arguments and receiver.
2831 } 2831 }
2832 2832
2833 } // namespace dart 2833 } // namespace dart
2834 2834
2835 #endif // defined TARGET_ARCH_MIPS 2835 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698