| 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 6631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6642 inline Flags GetFlags(); | 6642 inline Flags GetFlags(); |
| 6643 inline String* Pattern(); | 6643 inline String* Pattern(); |
| 6644 inline Object* DataAt(int index); | 6644 inline Object* DataAt(int index); |
| 6645 // Set implementation data after the object has been prepared. | 6645 // Set implementation data after the object has been prepared. |
| 6646 inline void SetDataAt(int index, Object* value); | 6646 inline void SetDataAt(int index, Object* value); |
| 6647 | 6647 |
| 6648 // Used during GC when flushing code or setting age. | 6648 // Used during GC when flushing code or setting age. |
| 6649 inline Object* DataAtUnchecked(int index); | 6649 inline Object* DataAtUnchecked(int index); |
| 6650 inline void SetDataAtUnchecked(int index, Object* value, Heap* heap); | 6650 inline void SetDataAtUnchecked(int index, Object* value, Heap* heap); |
| 6651 inline Type TypeTagUnchecked(); | 6651 inline Type TypeTagUnchecked(); |
| 6652 inline void ResetLastIndex(); | |
| 6653 | 6652 |
| 6654 static int code_index(bool is_ascii) { | 6653 static int code_index(bool is_ascii) { |
| 6655 if (is_ascii) { | 6654 if (is_ascii) { |
| 6656 return kIrregexpASCIICodeIndex; | 6655 return kIrregexpASCIICodeIndex; |
| 6657 } else { | 6656 } else { |
| 6658 return kIrregexpUC16CodeIndex; | 6657 return kIrregexpUC16CodeIndex; |
| 6659 } | 6658 } |
| 6660 } | 6659 } |
| 6661 | 6660 |
| 6662 static int saved_code_index(bool is_ascii) { | 6661 static int saved_code_index(bool is_ascii) { |
| (...skipping 2424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9087 } else { | 9086 } else { |
| 9088 value &= ~(1 << bit_position); | 9087 value &= ~(1 << bit_position); |
| 9089 } | 9088 } |
| 9090 return value; | 9089 return value; |
| 9091 } | 9090 } |
| 9092 }; | 9091 }; |
| 9093 | 9092 |
| 9094 } } // namespace v8::internal | 9093 } } // namespace v8::internal |
| 9095 | 9094 |
| 9096 #endif // V8_OBJECTS_H_ | 9095 #endif // V8_OBJECTS_H_ |
| OLD | NEW |