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

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

Issue 1870343002: - Refactor Symbol allocation to expect a thread parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review feedback. Created 4 years, 8 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
« no previous file with comments | « runtime/vm/intermediate_language.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 2834 matching lines...) Expand 10 before | Expand all | Expand 10 after
2845 void set_eval_script(const Script& value) const; 2845 void set_eval_script(const Script& value) const;
2846 void set_num_optional_parameters(intptr_t value) const; // Encoded value. 2846 void set_num_optional_parameters(intptr_t value) const; // Encoded value.
2847 void set_kind_tag(uint32_t value) const; 2847 void set_kind_tag(uint32_t value) const;
2848 void set_data(const Object& value) const; 2848 void set_data(const Object& value) const;
2849 2849
2850 static RawFunction* New(); 2850 static RawFunction* New();
2851 2851
2852 RawString* QualifiedName(NameVisibility name_visibility) const; 2852 RawString* QualifiedName(NameVisibility name_visibility) const;
2853 2853
2854 void BuildSignatureParameters( 2854 void BuildSignatureParameters(
2855 Thread* thread,
2856 Zone* zone,
2855 bool instantiate, 2857 bool instantiate,
2856 NameVisibility name_visibility, 2858 NameVisibility name_visibility,
2857 const TypeArguments& instantiator, 2859 const TypeArguments& instantiator,
2858 GrowableHandlePtrArray<const String>* pieces) const; 2860 GrowableHandlePtrArray<const String>* pieces) const;
2859 RawString* BuildSignature(bool instantiate, 2861 RawString* BuildSignature(bool instantiate,
2860 NameVisibility name_visibility, 2862 NameVisibility name_visibility,
2861 const TypeArguments& instantiator) const; 2863 const TypeArguments& instantiator) const;
2862 2864
2863 // Checks the type of the formal parameter at the given position for 2865 // Checks the type of the formal parameter at the given position for
2864 // subtyping or 'more specific' relationship between the type of this function 2866 // subtyping or 'more specific' relationship between the type of this function
(...skipping 5588 matching lines...) Expand 10 before | Expand all | Expand 10 after
8453 8455
8454 8456
8455 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8457 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8456 intptr_t index) { 8458 intptr_t index) {
8457 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8459 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8458 } 8460 }
8459 8461
8460 } // namespace dart 8462 } // namespace dart
8461 8463
8462 #endif // VM_OBJECT_H_ 8464 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698