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

Side by Side Diff: src/objects.h

Issue 442763002: Load constants from the DescriptorArray (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also removed from arm64 Created 6 years, 4 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 | « src/mips64/stub-cache-mips64.cc ('k') | src/objects-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 3399 matching lines...) Expand 10 before | Expand all | Expand 10 after
3410 Object* new_index_cache); 3410 Object* new_index_cache);
3411 3411
3412 bool CanHoldValue(int descriptor, Object* value); 3412 bool CanHoldValue(int descriptor, Object* value);
3413 3413
3414 // Accessors for fetching instance descriptor at descriptor number. 3414 // Accessors for fetching instance descriptor at descriptor number.
3415 inline Name* GetKey(int descriptor_number); 3415 inline Name* GetKey(int descriptor_number);
3416 inline Object** GetKeySlot(int descriptor_number); 3416 inline Object** GetKeySlot(int descriptor_number);
3417 inline Object* GetValue(int descriptor_number); 3417 inline Object* GetValue(int descriptor_number);
3418 inline void SetValue(int descriptor_number, Object* value); 3418 inline void SetValue(int descriptor_number, Object* value);
3419 inline Object** GetValueSlot(int descriptor_number); 3419 inline Object** GetValueSlot(int descriptor_number);
3420 static inline int GetValueOffset(int descriptor_number);
3420 inline Object** GetDescriptorStartSlot(int descriptor_number); 3421 inline Object** GetDescriptorStartSlot(int descriptor_number);
3421 inline Object** GetDescriptorEndSlot(int descriptor_number); 3422 inline Object** GetDescriptorEndSlot(int descriptor_number);
3422 inline PropertyDetails GetDetails(int descriptor_number); 3423 inline PropertyDetails GetDetails(int descriptor_number);
3423 inline PropertyType GetType(int descriptor_number); 3424 inline PropertyType GetType(int descriptor_number);
3424 inline int GetFieldIndex(int descriptor_number); 3425 inline int GetFieldIndex(int descriptor_number);
3425 inline HeapType* GetFieldType(int descriptor_number); 3426 inline HeapType* GetFieldType(int descriptor_number);
3426 inline Object* GetConstant(int descriptor_number); 3427 inline Object* GetConstant(int descriptor_number);
3427 inline Object* GetCallbacksObject(int descriptor_number); 3428 inline Object* GetCallbacksObject(int descriptor_number);
3428 inline AccessorDescriptor* GetCallbacks(int descriptor_number); 3429 inline AccessorDescriptor* GetCallbacks(int descriptor_number);
3429 3430
(...skipping 7835 matching lines...) Expand 10 before | Expand all | Expand 10 after
11265 } else { 11266 } else {
11266 value &= ~(1 << bit_position); 11267 value &= ~(1 << bit_position);
11267 } 11268 }
11268 return value; 11269 return value;
11269 } 11270 }
11270 }; 11271 };
11271 11272
11272 } } // namespace v8::internal 11273 } } // namespace v8::internal
11273 11274
11274 #endif // V8_OBJECTS_H_ 11275 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/stub-cache-mips64.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698