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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "src/compiler.h" | 24 #include "src/compiler.h" |
25 #include "src/context-measure.h" | 25 #include "src/context-measure.h" |
26 #include "src/contexts.h" | 26 #include "src/contexts.h" |
27 #include "src/conversions-inl.h" | 27 #include "src/conversions-inl.h" |
28 #include "src/counters.h" | 28 #include "src/counters.h" |
29 #include "src/cpu-profiler.h" | 29 #include "src/cpu-profiler.h" |
30 #include "src/debug/debug.h" | 30 #include "src/debug/debug.h" |
31 #include "src/deoptimizer.h" | 31 #include "src/deoptimizer.h" |
32 #include "src/execution.h" | 32 #include "src/execution.h" |
33 #include "src/global-handles.h" | 33 #include "src/global-handles.h" |
34 #include "src/heap/spaces.h" | |
35 #include "src/heap-profiler.h" | 34 #include "src/heap-profiler.h" |
36 #include "src/heap-snapshot-generator-inl.h" | 35 #include "src/heap-snapshot-generator-inl.h" |
37 #include "src/icu_util.h" | 36 #include "src/icu_util.h" |
38 #include "src/json-parser.h" | 37 #include "src/json-parser.h" |
39 #include "src/messages.h" | 38 #include "src/messages.h" |
40 #include "src/parser.h" | 39 #include "src/parser.h" |
41 #include "src/pending-compilation-error-handler.h" | 40 #include "src/pending-compilation-error-handler.h" |
42 #include "src/profile-generator-inl.h" | 41 #include "src/profile-generator-inl.h" |
43 #include "src/property.h" | 42 #include "src/property.h" |
44 #include "src/property-details.h" | 43 #include "src/property-details.h" |
(...skipping 8379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8424 Address callback_address = | 8423 Address callback_address = |
8425 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8424 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
8426 VMState<EXTERNAL> state(isolate); | 8425 VMState<EXTERNAL> state(isolate); |
8427 ExternalCallbackScope call_scope(isolate, callback_address); | 8426 ExternalCallbackScope call_scope(isolate, callback_address); |
8428 callback(info); | 8427 callback(info); |
8429 } | 8428 } |
8430 | 8429 |
8431 | 8430 |
8432 } // namespace internal | 8431 } // namespace internal |
8433 } // namespace v8 | 8432 } // namespace v8 |
OLD | NEW |