| 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 "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/hashmap.h" | 10 #include "src/hashmap.h" |
| 11 #include "src/smart-pointers.h" | 11 #include "src/smart-pointers.h" |
| 12 #include "src/v8.h" | 12 #include "src/v8.h" |
| 13 #else | 13 #else |
| 14 #include "include/v8.h" | 14 #include "include/v8.h" |
| 15 #include "src/base/compiler-specific.h" |
| 15 #endif // !V8_SHARED | 16 #endif // !V8_SHARED |
| 16 | 17 |
| 17 namespace v8 { | 18 namespace v8 { |
| 18 | 19 |
| 19 | 20 |
| 20 #ifndef V8_SHARED | 21 #ifndef V8_SHARED |
| 21 // A single counter in a counter collection. | 22 // A single counter in a counter collection. |
| 22 class Counter { | 23 class Counter { |
| 23 public: | 24 public: |
| 24 static const int kMaxNameSize = 64; | 25 static const int kMaxNameSize = 64; |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 static void ExternalArrayWeakCallback(Isolate* isolate, | 405 static void ExternalArrayWeakCallback(Isolate* isolate, |
| 405 Persistent<Object>* object, | 406 Persistent<Object>* object, |
| 406 uint8_t* data); | 407 uint8_t* data); |
| 407 }; | 408 }; |
| 408 | 409 |
| 409 | 410 |
| 410 } // namespace v8 | 411 } // namespace v8 |
| 411 | 412 |
| 412 | 413 |
| 413 #endif // V8_D8_H_ | 414 #endif // V8_D8_H_ |
| OLD | NEW |