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 #include "src/api.h" | 5 #include "src/api.h" |
6 | 6 |
7 #include <string.h> // For memcpy, strlen. | 7 #include <string.h> // For memcpy, strlen. |
8 #ifdef V8_USE_ADDRESS_SANITIZER | 8 #ifdef V8_USE_ADDRESS_SANITIZER |
9 #include <sanitizer/asan_interface.h> | 9 #include <sanitizer/asan_interface.h> |
10 #endif // V8_USE_ADDRESS_SANITIZER | 10 #endif // V8_USE_ADDRESS_SANITIZER |
11 #include <cmath> // For isnan. | 11 #include <cmath> // For isnan. |
12 #include "include/v8-debug.h" | 12 #include "include/v8-debug.h" |
13 #include "include/v8-profiler.h" | 13 #include "include/v8-profiler.h" |
14 #include "include/v8-testing.h" | 14 #include "include/v8-testing.h" |
15 #include "src/api-natives.h" | 15 #include "src/api-natives.h" |
16 #include "src/assert-scope.h" | 16 #include "src/assert-scope.h" |
17 #include "src/background-parsing-task.h" | 17 #include "src/background-parsing-task.h" |
18 #include "src/base/functional.h" | 18 #include "src/base/functional.h" |
19 #include "src/base/platform/platform.h" | 19 #include "src/base/platform/platform.h" |
20 #include "src/base/platform/time.h" | 20 #include "src/base/platform/time.h" |
21 #include "src/base/utils/random-number-generator.h" | 21 #include "src/base/utils/random-number-generator.h" |
22 #include "src/bootstrapper.h" | 22 #include "src/bootstrapper.h" |
23 #include "src/code-stubs.h" | 23 #include "src/code-stubs.h" |
24 #include "src/compiler.h" | 24 #include "src/compiler.h" |
25 #include "src/contexts.h" | 25 #include "src/contexts.h" |
26 #include "src/conversions-inl.h" | 26 #include "src/conversions-inl.h" |
27 #include "src/counters.h" | 27 #include "src/counters.h" |
28 #include "src/cpu-profiler.h" | 28 #include "src/cpu-profiler.h" |
29 #include "src/debug.h" | 29 #include "src/debug/debug.h" |
30 #include "src/deoptimizer.h" | 30 #include "src/deoptimizer.h" |
31 #include "src/execution.h" | 31 #include "src/execution.h" |
32 #include "src/global-handles.h" | 32 #include "src/global-handles.h" |
33 #include "src/heap/spaces.h" | 33 #include "src/heap/spaces.h" |
34 #include "src/heap-profiler.h" | 34 #include "src/heap-profiler.h" |
35 #include "src/heap-snapshot-generator-inl.h" | 35 #include "src/heap-snapshot-generator-inl.h" |
36 #include "src/icu_util.h" | 36 #include "src/icu_util.h" |
37 #include "src/json-parser.h" | 37 #include "src/json-parser.h" |
38 #include "src/messages.h" | 38 #include "src/messages.h" |
39 #include "src/parser.h" | 39 #include "src/parser.h" |
(...skipping 8363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8403 Address callback_address = | 8403 Address callback_address = |
8404 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8404 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
8405 VMState<EXTERNAL> state(isolate); | 8405 VMState<EXTERNAL> state(isolate); |
8406 ExternalCallbackScope call_scope(isolate, callback_address); | 8406 ExternalCallbackScope call_scope(isolate, callback_address); |
8407 callback(info); | 8407 callback(info); |
8408 } | 8408 } |
8409 | 8409 |
8410 | 8410 |
8411 } // namespace internal | 8411 } // namespace internal |
8412 } // namespace v8 | 8412 } // namespace v8 |
OLD | NEW |