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

Side by Side Diff: runtime/vm/intermediate_language_x64.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_mips.cc ('k') | runtime/vm/object.h » ('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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 3930 matching lines...) Expand 10 before | Expand all | Expand 10 after
3941 // descriptor. 3941 // descriptor.
3942 Register temp_reg = locs()->temp(0).reg(); 3942 Register temp_reg = locs()->temp(0).reg();
3943 int argument_count = ArgumentCount(); 3943 int argument_count = ArgumentCount();
3944 const Array& arguments_descriptor = 3944 const Array& arguments_descriptor =
3945 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, 3945 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count,
3946 argument_names())); 3946 argument_names()));
3947 __ LoadObject(temp_reg, arguments_descriptor); 3947 __ LoadObject(temp_reg, arguments_descriptor);
3948 compiler->GenerateDartCall(deopt_id(), 3948 compiler->GenerateDartCall(deopt_id(),
3949 token_pos(), 3949 token_pos(),
3950 &StubCode::CallClosureFunctionLabel(), 3950 &StubCode::CallClosureFunctionLabel(),
3951 PcDescriptors::kOther, 3951 PcDescriptors::kClosureCall,
3952 locs()); 3952 locs());
3953 __ Drop(argument_count); 3953 __ Drop(argument_count);
3954 } 3954 }
3955 3955
3956 3956
3957 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const { 3957 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const {
3958 return LocationSummary::Make(1, 3958 return LocationSummary::Make(1,
3959 Location::RequiresRegister(), 3959 Location::RequiresRegister(),
3960 LocationSummary::kNoCall); 3960 LocationSummary::kNoCall);
3961 } 3961 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
4052 PcDescriptors::kOther, 4052 PcDescriptors::kOther,
4053 locs()); 4053 locs());
4054 __ Drop(2); // Discard type arguments and receiver. 4054 __ Drop(2); // Discard type arguments and receiver.
4055 } 4055 }
4056 4056
4057 } // namespace dart 4057 } // namespace dart
4058 4058
4059 #undef __ 4059 #undef __
4060 4060
4061 #endif // defined TARGET_ARCH_X64 4061 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698