| 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 8536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8547 static const int kNextOffset = kTableOffset + kPointerSize; | 8547 static const int kNextOffset = kTableOffset + kPointerSize; |
| 8548 static const int kSize = kNextOffset + kPointerSize; | 8548 static const int kSize = kNextOffset + kPointerSize; |
| 8549 | 8549 |
| 8550 private: | 8550 private: |
| 8551 DISALLOW_IMPLICIT_CONSTRUCTORS(JSWeakMap); | 8551 DISALLOW_IMPLICIT_CONSTRUCTORS(JSWeakMap); |
| 8552 }; | 8552 }; |
| 8553 | 8553 |
| 8554 | 8554 |
| 8555 class JSArrayBuffer: public JSObject { | 8555 class JSArrayBuffer: public JSObject { |
| 8556 public: | 8556 public: |
| 8557 // [backing_store]: backing memory for this array | 8557 // [backing_store]: backing memory for thsi array |
| 8558 DECL_ACCESSORS(backing_store, void) | 8558 DECL_ACCESSORS(backing_store, void) |
| 8559 | 8559 |
| 8560 // [byte_length]: length in bytes | 8560 // [byte_length]: length in bytes |
| 8561 DECL_ACCESSORS(byte_length, Object) | 8561 DECL_ACCESSORS(byte_length, Object) |
| 8562 | 8562 |
| 8563 // Casting. | 8563 // Casting. |
| 8564 static inline JSArrayBuffer* cast(Object* obj); | 8564 static inline JSArrayBuffer* cast(Object* obj); |
| 8565 | 8565 |
| 8566 // Dispatched behavior. | 8566 // Dispatched behavior. |
| 8567 DECLARE_PRINTER(JSArrayBuffer) | 8567 DECLARE_PRINTER(JSArrayBuffer) |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9405 } else { | 9405 } else { |
| 9406 value &= ~(1 << bit_position); | 9406 value &= ~(1 << bit_position); |
| 9407 } | 9407 } |
| 9408 return value; | 9408 return value; |
| 9409 } | 9409 } |
| 9410 }; | 9410 }; |
| 9411 | 9411 |
| 9412 } } // namespace v8::internal | 9412 } } // namespace v8::internal |
| 9413 | 9413 |
| 9414 #endif // V8_OBJECTS_H_ | 9414 #endif // V8_OBJECTS_H_ |
| OLD | NEW |