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

Side by Side Diff: runtime/vm/object.h

Issue 11446020: Set BP in closurized function if necessary (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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.cc ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 // Signature class of this closure function or signature function. 1138 // Signature class of this closure function or signature function.
1139 RawClass* signature_class() const; 1139 RawClass* signature_class() const;
1140 void set_signature_class(const Class& value) const; 1140 void set_signature_class(const Class& value) const;
1141 1141
1142 RawInstance* implicit_static_closure() const; 1142 RawInstance* implicit_static_closure() const;
1143 void set_implicit_static_closure(const Instance& closure) const; 1143 void set_implicit_static_closure(const Instance& closure) const;
1144 1144
1145 RawCode* closure_allocation_stub() const; 1145 RawCode* closure_allocation_stub() const;
1146 void set_closure_allocation_stub(const Code& value) const; 1146 void set_closure_allocation_stub(const Code& value) const;
1147 1147
1148 // Returns true iff an implicit closure function has been created
1149 // for this function.
1150 bool HasImplicitClosureFunction() const {
1151 return implicit_closure_function() != null();
1152 }
1153
1148 // Return the closure function implicitly created for this function. 1154 // Return the closure function implicitly created for this function.
1149 // If none exists yet, create one and remember it. 1155 // If none exists yet, create one and remember it.
1150 RawFunction* ImplicitClosureFunction() const; 1156 RawFunction* ImplicitClosureFunction() const;
1151 1157
1152 // Redirection information for a redirecting factory. 1158 // Redirection information for a redirecting factory.
1153 bool IsRedirectingFactory() const; 1159 bool IsRedirectingFactory() const;
1154 RawType* RedirectionType() const; 1160 RawType* RedirectionType() const;
1155 void SetRedirectionType(const Type& type) const; 1161 void SetRedirectionType(const Type& type) const;
1156 RawString* RedirectionIdentifier() const; 1162 RawString* RedirectionIdentifier() const;
1157 void SetRedirectionIdentifier(const String& identifier) const; 1163 void SetRedirectionIdentifier(const String& identifier) const;
(...skipping 4833 matching lines...) Expand 10 before | Expand all | Expand 10 after
5991 if (this->CharAt(i) != str.CharAt(begin_index + i)) { 5997 if (this->CharAt(i) != str.CharAt(begin_index + i)) {
5992 return false; 5998 return false;
5993 } 5999 }
5994 } 6000 }
5995 return true; 6001 return true;
5996 } 6002 }
5997 6003
5998 } // namespace dart 6004 } // namespace dart
5999 6005
6000 #endif // VM_OBJECT_H_ 6006 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698