| 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 7690 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  7701   bool HasElementWithHandler(uint32_t index); |  7701   bool HasElementWithHandler(uint32_t index); | 
|  7702  |  7702  | 
|  7703   MUST_USE_RESULT MaybeObject* GetPropertyWithHandler( |  7703   MUST_USE_RESULT MaybeObject* GetPropertyWithHandler( | 
|  7704       Object* receiver, |  7704       Object* receiver, | 
|  7705       String* name); |  7705       String* name); | 
|  7706   MUST_USE_RESULT MaybeObject* GetElementWithHandler( |  7706   MUST_USE_RESULT MaybeObject* GetElementWithHandler( | 
|  7707       Object* receiver, |  7707       Object* receiver, | 
|  7708       uint32_t index); |  7708       uint32_t index); | 
|  7709  |  7709  | 
|  7710   MUST_USE_RESULT MaybeObject* SetPropertyWithHandler( |  7710   MUST_USE_RESULT MaybeObject* SetPropertyWithHandler( | 
 |  7711       JSReceiver* receiver, | 
|  7711       String* name, |  7712       String* name, | 
|  7712       Object* value, |  7713       Object* value, | 
|  7713       PropertyAttributes attributes, |  7714       PropertyAttributes attributes, | 
|  7714       StrictModeFlag strict_mode); |  7715       StrictModeFlag strict_mode); | 
|  7715   MUST_USE_RESULT MaybeObject* SetElementWithHandler( |  7716   MUST_USE_RESULT MaybeObject* SetElementWithHandler( | 
 |  7717       JSReceiver* receiver, | 
|  7716       uint32_t index, |  7718       uint32_t index, | 
|  7717       Object* value, |  7719       Object* value, | 
|  7718       StrictModeFlag strict_mode); |  7720       StrictModeFlag strict_mode); | 
|  7719  |  7721  | 
|  7720   // If the handler defines an accessor property, invoke its setter |  7722   // If the handler defines an accessor property, invoke its setter | 
|  7721   // (or throw if only a getter exists) and set *found to true. Otherwise false. |  7723   // (or throw if only a getter exists) and set *found to true. Otherwise false. | 
|  7722   MUST_USE_RESULT MaybeObject* SetPropertyWithHandlerIfDefiningSetter( |  7724   MUST_USE_RESULT MaybeObject* SetPropertyWithHandlerIfDefiningSetter( | 
 |  7725       JSReceiver* receiver, | 
|  7723       String* name, |  7726       String* name, | 
|  7724       Object* value, |  7727       Object* value, | 
|  7725       PropertyAttributes attributes, |  7728       PropertyAttributes attributes, | 
|  7726       StrictModeFlag strict_mode, |  7729       StrictModeFlag strict_mode, | 
|  7727       bool* found); |  7730       bool* found); | 
|  7728  |  7731  | 
|  7729   MUST_USE_RESULT MaybeObject* DeletePropertyWithHandler( |  7732   MUST_USE_RESULT MaybeObject* DeletePropertyWithHandler( | 
|  7730       String* name, |  7733       String* name, | 
|  7731       DeleteMode mode); |  7734       DeleteMode mode); | 
|  7732   MUST_USE_RESULT MaybeObject* DeleteElementWithHandler( |  7735   MUST_USE_RESULT MaybeObject* DeleteElementWithHandler( | 
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  8649     } else { |  8652     } else { | 
|  8650       value &= ~(1 << bit_position); |  8653       value &= ~(1 << bit_position); | 
|  8651     } |  8654     } | 
|  8652     return value; |  8655     return value; | 
|  8653   } |  8656   } | 
|  8654 }; |  8657 }; | 
|  8655  |  8658  | 
|  8656 } }  // namespace v8::internal |  8659 } }  // namespace v8::internal | 
|  8657  |  8660  | 
|  8658 #endif  // V8_OBJECTS_H_ |  8661 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW |