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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 Isolate* isolate, | 1160 Isolate* isolate, |
1161 Handle<Object> object, | 1161 Handle<Object> object, |
1162 uint32_t index); | 1162 uint32_t index); |
1163 | 1163 |
1164 MUST_USE_RESULT static MaybeHandle<Object> GetElementWithReceiver( | 1164 MUST_USE_RESULT static MaybeHandle<Object> GetElementWithReceiver( |
1165 Isolate* isolate, | 1165 Isolate* isolate, |
1166 Handle<Object> object, | 1166 Handle<Object> object, |
1167 Handle<Object> receiver, | 1167 Handle<Object> receiver, |
1168 uint32_t index); | 1168 uint32_t index); |
1169 | 1169 |
| 1170 static inline Handle<Object> GetPrototypeSkipHiddenPrototypes( |
| 1171 Isolate* isolate, Handle<Object> receiver); |
| 1172 |
1170 // Returns the permanent hash code associated with this object. May return | 1173 // Returns the permanent hash code associated with this object. May return |
1171 // undefined if not yet created. | 1174 // undefined if not yet created. |
1172 Object* GetHash(); | 1175 Object* GetHash(); |
1173 | 1176 |
1174 // Returns the permanent hash code associated with this object depending on | 1177 // Returns the permanent hash code associated with this object depending on |
1175 // the actual object type. May create and store a hash code if needed and none | 1178 // the actual object type. May create and store a hash code if needed and none |
1176 // exists. | 1179 // exists. |
1177 static Handle<Smi> GetOrCreateHash(Isolate* isolate, Handle<Object> object); | 1180 static Handle<Smi> GetOrCreateHash(Isolate* isolate, Handle<Object> object); |
1178 | 1181 |
1179 // Checks whether this object has the same value as the given one. This | 1182 // Checks whether this object has the same value as the given one. This |
(...skipping 9626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10806 } else { | 10809 } else { |
10807 value &= ~(1 << bit_position); | 10810 value &= ~(1 << bit_position); |
10808 } | 10811 } |
10809 return value; | 10812 return value; |
10810 } | 10813 } |
10811 }; | 10814 }; |
10812 | 10815 |
10813 } } // namespace v8::internal | 10816 } } // namespace v8::internal |
10814 | 10817 |
10815 #endif // V8_OBJECTS_H_ | 10818 #endif // V8_OBJECTS_H_ |
OLD | NEW |