OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 14 matching lines...) Expand all Loading... |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_D8_H_ | 28 #ifndef V8_D8_H_ |
29 #define V8_D8_H_ | 29 #define V8_D8_H_ |
30 | 30 |
31 #include "allocation.h" | 31 #include "allocation.h" |
32 #include "v8.h" | 32 #include "v8.h" |
33 #include "hashmap.h" | 33 #include "hashmap.h" |
34 | 34 |
35 #ifdef COMPRESS_STARTUP_DATA_BZ2 | |
36 #error Using compressed startup data is not supported for D8 | |
37 #endif | |
38 | |
39 namespace v8 { | 35 namespace v8 { |
40 | 36 |
41 | 37 |
42 namespace i = v8::internal; | 38 namespace i = v8::internal; |
43 | 39 |
44 | 40 |
45 // A single counter in a counter collection. | 41 // A single counter in a counter collection. |
46 class Counter { | 42 class Counter { |
47 public: | 43 public: |
48 static const int kMaxNameSize = 64; | 44 static const int kMaxNameSize = 64; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 const char* name_; | 237 const char* name_; |
242 LineEditor* next_; | 238 LineEditor* next_; |
243 static LineEditor* first_; | 239 static LineEditor* first_; |
244 }; | 240 }; |
245 | 241 |
246 | 242 |
247 } // namespace v8 | 243 } // namespace v8 |
248 | 244 |
249 | 245 |
250 #endif // V8_D8_H_ | 246 #endif // V8_D8_H_ |
OLD | NEW |