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 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 reinterpret_cast<void*>(this), id()); \ | 1713 reinterpret_cast<void*>(this), id()); \ |
1714 } \ | 1714 } \ |
1715 } while (false) | 1715 } while (false) |
1716 #else | 1716 #else |
1717 #define TRACE_ISOLATE(tag) | 1717 #define TRACE_ISOLATE(tag) |
1718 #endif | 1718 #endif |
1719 | 1719 |
1720 | 1720 |
1721 Isolate::Isolate() | 1721 Isolate::Isolate() |
1722 : state_(UNINITIALIZED), | 1722 : state_(UNINITIALIZED), |
| 1723 embedder_data_(NULL), |
1723 entry_stack_(NULL), | 1724 entry_stack_(NULL), |
1724 stack_trace_nesting_level_(0), | 1725 stack_trace_nesting_level_(0), |
1725 incomplete_message_(NULL), | 1726 incomplete_message_(NULL), |
1726 preallocated_memory_thread_(NULL), | 1727 preallocated_memory_thread_(NULL), |
1727 preallocated_message_space_(NULL), | 1728 preallocated_message_space_(NULL), |
1728 bootstrapper_(NULL), | 1729 bootstrapper_(NULL), |
1729 runtime_profiler_(NULL), | 1730 runtime_profiler_(NULL), |
1730 compilation_cache_(NULL), | 1731 compilation_cache_(NULL), |
1731 counters_(NULL), | 1732 counters_(NULL), |
1732 code_range_(NULL), | 1733 code_range_(NULL), |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2525 | 2526 |
2526 #ifdef DEBUG | 2527 #ifdef DEBUG |
2527 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2528 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2528 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2529 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2529 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2530 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2530 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2531 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2531 #undef ISOLATE_FIELD_OFFSET | 2532 #undef ISOLATE_FIELD_OFFSET |
2532 #endif | 2533 #endif |
2533 | 2534 |
2534 } } // namespace v8::internal | 2535 } } // namespace v8::internal |
OLD | NEW |