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

Side by Side Diff: runtime/vm/intermediate_language_ia32.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_arm.cc ('k') | runtime/vm/intermediate_language_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/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 4304 matching lines...) Expand 10 before | Expand all | Expand 10 after
4315 // descriptor. 4315 // descriptor.
4316 Register temp_reg = locs()->temp(0).reg(); 4316 Register temp_reg = locs()->temp(0).reg();
4317 int argument_count = ArgumentCount(); 4317 int argument_count = ArgumentCount();
4318 const Array& arguments_descriptor = 4318 const Array& arguments_descriptor =
4319 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, 4319 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count,
4320 argument_names())); 4320 argument_names()));
4321 __ LoadObject(temp_reg, arguments_descriptor); 4321 __ LoadObject(temp_reg, arguments_descriptor);
4322 compiler->GenerateDartCall(deopt_id(), 4322 compiler->GenerateDartCall(deopt_id(),
4323 token_pos(), 4323 token_pos(),
4324 &StubCode::CallClosureFunctionLabel(), 4324 &StubCode::CallClosureFunctionLabel(),
4325 PcDescriptors::kOther, 4325 PcDescriptors::kClosureCall,
4326 locs()); 4326 locs());
4327 __ Drop(argument_count); 4327 __ Drop(argument_count);
4328 } 4328 }
4329 4329
4330 4330
4331 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const { 4331 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const {
4332 return LocationSummary::Make(1, 4332 return LocationSummary::Make(1,
4333 Location::RequiresRegister(), 4333 Location::RequiresRegister(),
4334 LocationSummary::kNoCall); 4334 LocationSummary::kNoCall);
4335 } 4335 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
4426 PcDescriptors::kOther, 4426 PcDescriptors::kOther,
4427 locs()); 4427 locs());
4428 __ Drop(2); // Discard type arguments and receiver. 4428 __ Drop(2); // Discard type arguments and receiver.
4429 } 4429 }
4430 4430
4431 } // namespace dart 4431 } // namespace dart
4432 4432
4433 #undef __ 4433 #undef __
4434 4434
4435 #endif // defined TARGET_ARCH_IA32 4435 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698