OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 static JSGlobalData& sharedInstance(); | 60 static JSGlobalData& sharedInstance(); |
61 | 61 |
62 static PassRefPtr<JSGlobalData> create(); | 62 static PassRefPtr<JSGlobalData> create(); |
63 static PassRefPtr<JSGlobalData> createLeaked(); | 63 static PassRefPtr<JSGlobalData> createLeaked(); |
64 ~JSGlobalData(); | 64 ~JSGlobalData(); |
65 | 65 |
66 Machine* machine; | 66 Machine* machine; |
67 | 67 |
68 JSValue* exception; | 68 JSValue* exception; |
69 #if ENABLE(CTI) | 69 #if ENABLE(CTI) |
70 void* throwReturnAddress; | 70 void* exceptionLocation; |
71 #endif | 71 #endif |
72 | 72 |
73 const HashTable* arrayTable; | 73 const HashTable* arrayTable; |
74 const HashTable* dateTable; | 74 const HashTable* dateTable; |
75 const HashTable* mathTable; | 75 const HashTable* mathTable; |
76 const HashTable* numberTable; | 76 const HashTable* numberTable; |
77 const HashTable* regExpTable; | 77 const HashTable* regExpTable; |
78 const HashTable* regExpConstructorTable; | 78 const HashTable* regExpConstructorTable; |
79 const HashTable* stringTable; | 79 const HashTable* stringTable; |
80 | 80 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 private: | 118 private: |
119 JSGlobalData(bool isShared = false); | 119 JSGlobalData(bool isShared = false); |
120 | 120 |
121 static JSGlobalData*& sharedInstanceInternal(); | 121 static JSGlobalData*& sharedInstanceInternal(); |
122 }; | 122 }; |
123 | 123 |
124 } | 124 } |
125 | 125 |
126 #endif | 126 #endif |
OLD | NEW |