OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_D8_H_ | 5 #ifndef V8_D8_H_ |
6 #define V8_D8_H_ | 6 #define V8_D8_H_ |
7 | 7 |
8 #ifndef V8_SHARED | 8 #ifndef V8_SHARED |
9 #include "allocation.h" | 9 #include "src/allocation.h" |
10 #include "hashmap.h" | 10 #include "src/hashmap.h" |
11 #include "smart-pointers.h" | 11 #include "src/smart-pointers.h" |
12 #include "v8.h" | 12 #include "src/v8.h" |
13 #else | 13 #else |
14 #include "../include/v8.h" | 14 #include "include/v8.h" |
15 #endif // !V8_SHARED | 15 #endif // !V8_SHARED |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 | 18 |
19 | 19 |
20 #ifndef V8_SHARED | 20 #ifndef V8_SHARED |
21 // A single counter in a counter collection. | 21 // A single counter in a counter collection. |
22 class Counter { | 22 class Counter { |
23 public: | 23 public: |
24 static const int kMaxNameSize = 64; | 24 static const int kMaxNameSize = 64; |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 static void ExternalArrayWeakCallback(Isolate* isolate, | 395 static void ExternalArrayWeakCallback(Isolate* isolate, |
396 Persistent<Object>* object, | 396 Persistent<Object>* object, |
397 uint8_t* data); | 397 uint8_t* data); |
398 }; | 398 }; |
399 | 399 |
400 | 400 |
401 } // namespace v8 | 401 } // namespace v8 |
402 | 402 |
403 | 403 |
404 #endif // V8_D8_H_ | 404 #endif // V8_D8_H_ |
OLD | NEW |