| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 338 |
| 339 #define ISOLATE_INIT_LIST(V) \ | 339 #define ISOLATE_INIT_LIST(V) \ |
| 340 /* AssertNoZoneAllocation state. */ \ | 340 /* AssertNoZoneAllocation state. */ \ |
| 341 V(bool, zone_allow_allocation, true) \ | 341 V(bool, zone_allow_allocation, true) \ |
| 342 /* SerializerDeserializer state. */ \ | 342 /* SerializerDeserializer state. */ \ |
| 343 V(int, serialize_partial_snapshot_cache_length, 0) \ | 343 V(int, serialize_partial_snapshot_cache_length, 0) \ |
| 344 /* Assembler state. */ \ | 344 /* Assembler state. */ \ |
| 345 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ | 345 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ |
| 346 V(byte*, assembler_spare_buffer, NULL) \ | 346 V(byte*, assembler_spare_buffer, NULL) \ |
| 347 V(FatalErrorCallback, exception_behavior, NULL) \ | 347 V(FatalErrorCallback, exception_behavior, NULL) \ |
| 348 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ |
| 348 V(v8::Debug::MessageHandler, message_handler, NULL) \ | 349 V(v8::Debug::MessageHandler, message_handler, NULL) \ |
| 349 /* To distinguish the function templates, so that we can find them in the */ \ | 350 /* To distinguish the function templates, so that we can find them in the */ \ |
| 350 /* function cache of the global context. */ \ | 351 /* function cache of the global context. */ \ |
| 351 V(int, next_serial_number, 0) \ | 352 V(int, next_serial_number, 0) \ |
| 352 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ | 353 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ |
| 353 V(bool, always_allow_natives_syntax, false) \ | 354 V(bool, always_allow_natives_syntax, false) \ |
| 354 /* Part of the state of liveedit. */ \ | 355 /* Part of the state of liveedit. */ \ |
| 355 V(FunctionInfoListener*, active_function_info_listener, NULL) \ | 356 V(FunctionInfoListener*, active_function_info_listener, NULL) \ |
| 356 /* State for Relocatable. */ \ | 357 /* State for Relocatable. */ \ |
| 357 V(Relocatable*, relocatable_top, NULL) \ | 358 V(Relocatable*, relocatable_top, NULL) \ |
| (...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1373 | 1374 |
| 1374 } } // namespace v8::internal | 1375 } } // namespace v8::internal |
| 1375 | 1376 |
| 1376 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1377 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1377 // they're needed. | 1378 // they're needed. |
| 1378 #include "allocation-inl.h" | 1379 #include "allocation-inl.h" |
| 1379 #include "zone-inl.h" | 1380 #include "zone-inl.h" |
| 1380 #include "frames-inl.h" | 1381 #include "frames-inl.h" |
| 1381 | 1382 |
| 1382 #endif // V8_ISOLATE_H_ | 1383 #endif // V8_ISOLATE_H_ |
| OLD | NEW |