OLD | NEW |
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 <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 10384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10395 inline bool all_can_read(); | 10395 inline bool all_can_read(); |
10396 inline void set_all_can_read(bool value); | 10396 inline void set_all_can_read(bool value); |
10397 | 10397 |
10398 inline bool all_can_write(); | 10398 inline bool all_can_write(); |
10399 inline void set_all_can_write(bool value); | 10399 inline void set_all_can_write(bool value); |
10400 | 10400 |
10401 inline PropertyAttributes property_attributes(); | 10401 inline PropertyAttributes property_attributes(); |
10402 inline void set_property_attributes(PropertyAttributes attributes); | 10402 inline void set_property_attributes(PropertyAttributes attributes); |
10403 | 10403 |
10404 // Checks whether the given receiver is compatible with this accessor. | 10404 // Checks whether the given receiver is compatible with this accessor. |
10405 static bool IsCompatibleReceiverType(Isolate* isolate, | 10405 static bool IsCompatibleReceiverMap(Isolate* isolate, |
10406 Handle<AccessorInfo> info, | 10406 Handle<AccessorInfo> info, |
10407 Handle<HeapType> type); | 10407 Handle<Map> map); |
10408 inline bool IsCompatibleReceiver(Object* receiver); | 10408 inline bool IsCompatibleReceiver(Object* receiver); |
10409 | 10409 |
10410 DECLARE_CAST(AccessorInfo) | 10410 DECLARE_CAST(AccessorInfo) |
10411 | 10411 |
10412 // Dispatched behavior. | 10412 // Dispatched behavior. |
10413 DECLARE_VERIFIER(AccessorInfo) | 10413 DECLARE_VERIFIER(AccessorInfo) |
10414 | 10414 |
10415 // Append all descriptors to the array that are not already there. | 10415 // Append all descriptors to the array that are not already there. |
10416 // Return number added. | 10416 // Return number added. |
10417 static int AppendUnique(Handle<Object> descriptors, | 10417 static int AppendUnique(Handle<Object> descriptors, |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10985 } else { | 10985 } else { |
10986 value &= ~(1 << bit_position); | 10986 value &= ~(1 << bit_position); |
10987 } | 10987 } |
10988 return value; | 10988 return value; |
10989 } | 10989 } |
10990 }; | 10990 }; |
10991 | 10991 |
10992 } } // namespace v8::internal | 10992 } } // namespace v8::internal |
10993 | 10993 |
10994 #endif // V8_OBJECTS_H_ | 10994 #endif // V8_OBJECTS_H_ |
OLD | NEW |