| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 18 matching lines...) Expand all Loading... |
| 29 #define V8_OBJECTS_H_ | 29 #define V8_OBJECTS_H_ |
| 30 | 30 |
| 31 #include "builtins.h" | 31 #include "builtins.h" |
| 32 #include "smart-pointer.h" | 32 #include "smart-pointer.h" |
| 33 #include "unicode-inl.h" | 33 #include "unicode-inl.h" |
| 34 #if V8_TARGET_ARCH_ARM | 34 #if V8_TARGET_ARCH_ARM |
| 35 #include "arm/constants-arm.h" | 35 #include "arm/constants-arm.h" |
| 36 #elif V8_TARGET_ARCH_MIPS | 36 #elif V8_TARGET_ARCH_MIPS |
| 37 #include "mips/constants-mips.h" | 37 #include "mips/constants-mips.h" |
| 38 #endif | 38 #endif |
| 39 #include "v8checks.h" |
| 39 | 40 |
| 40 // | 41 // |
| 41 // Most object types in the V8 JavaScript are described in this file. | 42 // Most object types in the V8 JavaScript are described in this file. |
| 42 // | 43 // |
| 43 // Inheritance hierarchy: | 44 // Inheritance hierarchy: |
| 44 // - MaybeObject (an object or a failure) | 45 // - MaybeObject (an object or a failure) |
| 45 // - Failure (immediate for marking failed operation) | 46 // - Failure (immediate for marking failed operation) |
| 46 // - Object | 47 // - Object |
| 47 // - Smi (immediate small integer) | 48 // - Smi (immediate small integer) |
| 48 // - HeapObject (superclass for everything allocated in the heap) | 49 // - HeapObject (superclass for everything allocated in the heap) |
| (...skipping 6483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6532 } else { | 6533 } else { |
| 6533 value &= ~(1 << bit_position); | 6534 value &= ~(1 << bit_position); |
| 6534 } | 6535 } |
| 6535 return value; | 6536 return value; |
| 6536 } | 6537 } |
| 6537 }; | 6538 }; |
| 6538 | 6539 |
| 6539 } } // namespace v8::internal | 6540 } } // namespace v8::internal |
| 6540 | 6541 |
| 6541 #endif // V8_OBJECTS_H_ | 6542 #endif // V8_OBJECTS_H_ |
| OLD | NEW |