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 23452055: Address comments of committed change https://codereview.chromium.org/24397002/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/class_finalizer.cc ('k') | runtime/vm/object.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) 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 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 void set_is_external(bool value) const; 1860 void set_is_external(bool value) const;
1861 void set_parent_function(const Function& value) const; 1861 void set_parent_function(const Function& value) const;
1862 void set_owner(const Object& value) const; 1862 void set_owner(const Object& value) const;
1863 RawFunction* implicit_closure_function() const; 1863 RawFunction* implicit_closure_function() const;
1864 void set_implicit_closure_function(const Function& value) const; 1864 void set_implicit_closure_function(const Function& value) const;
1865 void set_num_optional_parameters(intptr_t value) const; // Encoded value. 1865 void set_num_optional_parameters(intptr_t value) const; // Encoded value.
1866 void set_kind_tag(intptr_t value) const; 1866 void set_kind_tag(intptr_t value) const;
1867 void set_data(const Object& value) const; 1867 void set_data(const Object& value) const;
1868 static RawFunction* New(); 1868 static RawFunction* New();
1869 1869
1870 void BuildSinatureParameters(bool instantiate, 1870 void BuildSignatureParameters(bool instantiate,
1871 NameVisibility name_visibility, 1871 NameVisibility name_visibility,
1872 const AbstractTypeArguments& instantiator, 1872 const AbstractTypeArguments& instantiator,
1873 const GrowableObjectArray& pieces) const; 1873 const GrowableObjectArray& pieces) const;
1874 RawString* BuildSignature(bool instantiate, 1874 RawString* BuildSignature(bool instantiate,
1875 NameVisibility name_visibility, 1875 NameVisibility name_visibility,
1876 const AbstractTypeArguments& instantiator) const; 1876 const AbstractTypeArguments& instantiator) const;
1877 1877
1878 // Check the subtype or 'more specific' relationship. 1878 // Check the subtype or 'more specific' relationship.
1879 bool TypeTest(TypeTestKind test_kind, 1879 bool TypeTest(TypeTestKind test_kind,
1880 const AbstractTypeArguments& type_arguments, 1880 const AbstractTypeArguments& type_arguments,
1881 const Function& other, 1881 const Function& other,
1882 const AbstractTypeArguments& other_type_arguments, 1882 const AbstractTypeArguments& other_type_arguments,
1883 Error* bound_error) const; 1883 Error* bound_error) const;
(...skipping 4308 matching lines...) Expand 10 before | Expand all | Expand 10 after
6192 6192
6193 6193
6194 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6194 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6195 intptr_t index) { 6195 intptr_t index) {
6196 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6196 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6197 } 6197 }
6198 6198
6199 } // namespace dart 6199 } // namespace dart
6200 6200
6201 #endif // VM_OBJECT_H_ 6201 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698