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 17 matching lines...) Expand all Loading... |
28 #include "src/conversions-inl.h" | 28 #include "src/conversions-inl.h" |
29 #include "src/counters.h" | 29 #include "src/counters.h" |
30 #include "src/cpu-profiler.h" | 30 #include "src/cpu-profiler.h" |
31 #include "src/debug/debug.h" | 31 #include "src/debug/debug.h" |
32 #include "src/deoptimizer.h" | 32 #include "src/deoptimizer.h" |
33 #include "src/execution.h" | 33 #include "src/execution.h" |
34 #include "src/global-handles.h" | 34 #include "src/global-handles.h" |
35 #include "src/heap-profiler.h" | 35 #include "src/heap-profiler.h" |
36 #include "src/heap-snapshot-generator-inl.h" | 36 #include "src/heap-snapshot-generator-inl.h" |
37 #include "src/icu_util.h" | 37 #include "src/icu_util.h" |
| 38 #include "src/isolate-inl.h" |
38 #include "src/json-parser.h" | 39 #include "src/json-parser.h" |
39 #include "src/messages.h" | 40 #include "src/messages.h" |
40 #include "src/parser.h" | 41 #include "src/parser.h" |
41 #include "src/pending-compilation-error-handler.h" | 42 #include "src/pending-compilation-error-handler.h" |
42 #include "src/profile-generator-inl.h" | 43 #include "src/profile-generator-inl.h" |
43 #include "src/property.h" | 44 #include "src/property.h" |
44 #include "src/property-details.h" | 45 #include "src/property-details.h" |
45 #include "src/prototype.h" | 46 #include "src/prototype.h" |
46 #include "src/runtime/runtime.h" | 47 #include "src/runtime/runtime.h" |
47 #include "src/runtime-profiler.h" | 48 #include "src/runtime-profiler.h" |
(...skipping 8361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8409 Address callback_address = | 8410 Address callback_address = |
8410 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8411 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
8411 VMState<EXTERNAL> state(isolate); | 8412 VMState<EXTERNAL> state(isolate); |
8412 ExternalCallbackScope call_scope(isolate, callback_address); | 8413 ExternalCallbackScope call_scope(isolate, callback_address); |
8413 callback(info); | 8414 callback(info); |
8414 } | 8415 } |
8415 | 8416 |
8416 | 8417 |
8417 } // namespace internal | 8418 } // namespace internal |
8418 } // namespace v8 | 8419 } // namespace v8 |
OLD | NEW |