OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1619 // Setter that doesn't need write barrier). | 1619 // Setter that doesn't need write barrier). |
1620 inline void set(int index, Smi* value); | 1620 inline void set(int index, Smi* value); |
1621 // Setter with explicit barrier mode. | 1621 // Setter with explicit barrier mode. |
1622 inline void set(int index, Object* value, WriteBarrierMode mode); | 1622 inline void set(int index, Object* value, WriteBarrierMode mode); |
1623 | 1623 |
1624 // Setters for frequently used oddballs located in old space. | 1624 // Setters for frequently used oddballs located in old space. |
1625 inline void set_undefined(int index); | 1625 inline void set_undefined(int index); |
1626 inline void set_null(int index); | 1626 inline void set_null(int index); |
1627 inline void set_the_hole(int index); | 1627 inline void set_the_hole(int index); |
1628 | 1628 |
| 1629 // Gives access to raw memory which stores the array's data. |
| 1630 inline Object** data_start(); |
| 1631 |
1629 // Copy operations. | 1632 // Copy operations. |
1630 inline Object* Copy(); | 1633 inline Object* Copy(); |
1631 Object* CopySize(int new_length); | 1634 Object* CopySize(int new_length); |
1632 | 1635 |
1633 // Add the elements of a JSArray to this FixedArray. | 1636 // Add the elements of a JSArray to this FixedArray. |
1634 Object* AddKeysFromJSArray(JSArray* array); | 1637 Object* AddKeysFromJSArray(JSArray* array); |
1635 | 1638 |
1636 // Compute the union of this and other. | 1639 // Compute the union of this and other. |
1637 Object* UnionOfKeys(FixedArray* other); | 1640 Object* UnionOfKeys(FixedArray* other); |
1638 | 1641 |
(...skipping 3337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4976 } else { | 4979 } else { |
4977 value &= ~(1 << bit_position); | 4980 value &= ~(1 << bit_position); |
4978 } | 4981 } |
4979 return value; | 4982 return value; |
4980 } | 4983 } |
4981 }; | 4984 }; |
4982 | 4985 |
4983 } } // namespace v8::internal | 4986 } } // namespace v8::internal |
4984 | 4987 |
4985 #endif // V8_OBJECTS_H_ | 4988 #endif // V8_OBJECTS_H_ |
OLD | NEW |