| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; | 285 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; |
| 286 | 286 |
| 287 #define ISOLATE_INIT_LIST(V) \ | 287 #define ISOLATE_INIT_LIST(V) \ |
| 288 /* AssertNoZoneAllocation state. */ \ | 288 /* AssertNoZoneAllocation state. */ \ |
| 289 V(bool, zone_allow_allocation, true) \ | 289 V(bool, zone_allow_allocation, true) \ |
| 290 /* SerializerDeserializer state. */ \ | 290 /* SerializerDeserializer state. */ \ |
| 291 V(int, serialize_partial_snapshot_cache_length, 0) \ | 291 V(int, serialize_partial_snapshot_cache_length, 0) \ |
| 292 /* Assembler state. */ \ | 292 /* Assembler state. */ \ |
| 293 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ | 293 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ |
| 294 V(byte*, assembler_spare_buffer, NULL) \ | 294 V(byte*, assembler_spare_buffer, NULL) \ |
| 295 /*This static counter ensures that NativeAllocationCheckers can be nested.*/ \ | |
| 296 V(int, allocation_disallowed, 0) \ | |
| 297 V(FatalErrorCallback, exception_behavior, NULL) \ | 295 V(FatalErrorCallback, exception_behavior, NULL) \ |
| 298 V(v8::Debug::MessageHandler, message_handler, NULL) \ | 296 V(v8::Debug::MessageHandler, message_handler, NULL) \ |
| 299 /* To distinguish the function templates, so that we can find them in the */ \ | 297 /* To distinguish the function templates, so that we can find them in the */ \ |
| 300 /* function cache of the global context. */ \ | 298 /* function cache of the global context. */ \ |
| 301 V(int, next_serial_number, 0) \ | 299 V(int, next_serial_number, 0) \ |
| 302 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ | 300 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ |
| 303 V(bool, always_allow_natives_syntax, false) \ | 301 V(bool, always_allow_natives_syntax, false) \ |
| 304 /* Part of the state of liveedit. */ \ | 302 /* Part of the state of liveedit. */ \ |
| 305 V(FunctionInfoListener*, active_function_info_listener, NULL) \ | 303 V(FunctionInfoListener*, active_function_info_listener, NULL) \ |
| 306 /* State for Relocatable. */ \ | 304 /* State for Relocatable. */ \ |
| (...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 | 1299 |
| 1302 } } // namespace v8::internal | 1300 } } // namespace v8::internal |
| 1303 | 1301 |
| 1304 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1302 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1305 // they're needed. | 1303 // they're needed. |
| 1306 #include "allocation-inl.h" | 1304 #include "allocation-inl.h" |
| 1307 #include "zone-inl.h" | 1305 #include "zone-inl.h" |
| 1308 #include "frames-inl.h" | 1306 #include "frames-inl.h" |
| 1309 | 1307 |
| 1310 #endif // V8_ISOLATE_H_ | 1308 #endif // V8_ISOLATE_H_ |
| OLD | NEW |