| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 9138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9149 bool* done); | 9149 bool* done); |
| 9150 | 9150 |
| 9151 MUST_USE_RESULT PropertyAttributes GetPropertyAttributeWithHandler( | 9151 MUST_USE_RESULT PropertyAttributes GetPropertyAttributeWithHandler( |
| 9152 JSReceiver* receiver, | 9152 JSReceiver* receiver, |
| 9153 Name* name); | 9153 Name* name); |
| 9154 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithHandler( | 9154 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithHandler( |
| 9155 JSReceiver* receiver, | 9155 JSReceiver* receiver, |
| 9156 uint32_t index); | 9156 uint32_t index); |
| 9157 | 9157 |
| 9158 MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); | 9158 MUST_USE_RESULT MaybeObject* GetIdentityHash(CreationFlag flag); |
| 9159 static Handle<Object> GetIdentityHash(Handle<JSProxy> proxy, |
| 9160 CreationFlag flag); |
| 9159 | 9161 |
| 9160 // Turn this into an (empty) JSObject. | 9162 // Turn this into an (empty) JSObject. |
| 9161 void Fix(); | 9163 static void Fix(Handle<JSProxy> proxy); |
| 9162 | 9164 |
| 9163 // Initializes the body after the handler slot. | 9165 // Initializes the body after the handler slot. |
| 9164 inline void InitializeBody(int object_size, Object* value); | 9166 inline void InitializeBody(int object_size, Object* value); |
| 9165 | 9167 |
| 9166 // Invoke a trap by name. If the trap does not exist on this's handler, | 9168 // Invoke a trap by name. If the trap does not exist on this's handler, |
| 9167 // but derived_trap is non-NULL, invoke that instead. May cause GC. | 9169 // but derived_trap is non-NULL, invoke that instead. May cause GC. |
| 9168 Handle<Object> CallTrap(const char* name, | 9170 Handle<Object> CallTrap(const char* name, |
| 9169 Handle<Object> derived_trap, | 9171 Handle<Object> derived_trap, |
| 9170 int argc, | 9172 int argc, |
| 9171 Handle<Object> args[]); | 9173 Handle<Object> args[]); |
| (...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10276 } else { | 10278 } else { |
| 10277 value &= ~(1 << bit_position); | 10279 value &= ~(1 << bit_position); |
| 10278 } | 10280 } |
| 10279 return value; | 10281 return value; |
| 10280 } | 10282 } |
| 10281 }; | 10283 }; |
| 10282 | 10284 |
| 10283 } } // namespace v8::internal | 10285 } } // namespace v8::internal |
| 10284 | 10286 |
| 10285 #endif // V8_OBJECTS_H_ | 10287 #endif // V8_OBJECTS_H_ |
| OLD | NEW |