| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 V(Object*, string_stream_current_security_token, NULL) \ | 289 V(Object*, string_stream_current_security_token, NULL) \ |
| 290 /* TODO(isolates): Release this on destruction? */ \ | 290 /* TODO(isolates): Release this on destruction? */ \ |
| 291 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ | 291 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ |
| 292 /* Serializer state. */ \ | 292 /* Serializer state. */ \ |
| 293 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 293 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
| 294 ISOLATE_PLATFORM_INIT_LIST(V) \ | 294 ISOLATE_PLATFORM_INIT_LIST(V) \ |
| 295 ISOLATE_LOGGING_INIT_LIST(V) \ | 295 ISOLATE_LOGGING_INIT_LIST(V) \ |
| 296 ISOLATE_DEBUGGER_INIT_LIST(V) | 296 ISOLATE_DEBUGGER_INIT_LIST(V) |
| 297 | 297 |
| 298 class Isolate { | 298 class Isolate { |
| 299 // These forward declarations are required to make the friend declarations in |
| 300 // PerIsolateThreadData work on some older versions of gcc. |
| 301 class ThreadDataTable; |
| 302 class EntryStackItem; |
| 299 public: | 303 public: |
| 300 ~Isolate(); | 304 ~Isolate(); |
| 301 | 305 |
| 302 typedef int ThreadId; | 306 typedef int ThreadId; |
| 303 | 307 |
| 304 // A thread has a PerIsolateThreadData instance for each isolate that it has | 308 // A thread has a PerIsolateThreadData instance for each isolate that it has |
| 305 // entered. That instance is allocated when the isolate is initially entered | 309 // entered. That instance is allocated when the isolate is initially entered |
| 306 // and reused on subsequent entries. | 310 // and reused on subsequent entries. |
| 307 class PerIsolateThreadData { | 311 class PerIsolateThreadData { |
| 308 public: | 312 public: |
| (...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1174 #define ISOLATED_CLASS class | 1178 #define ISOLATED_CLASS class |
| 1175 | 1179 |
| 1176 } } // namespace v8::internal | 1180 } } // namespace v8::internal |
| 1177 | 1181 |
| 1178 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1182 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1179 // they're needed. | 1183 // they're needed. |
| 1180 #include "allocation-inl.h" | 1184 #include "allocation-inl.h" |
| 1181 #include "zone-inl.h" | 1185 #include "zone-inl.h" |
| 1182 | 1186 |
| 1183 #endif // V8_ISOLATE_H_ | 1187 #endif // V8_ISOLATE_H_ |
| OLD | NEW |