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 20 matching lines...) Expand all Loading... |
31 #include "src/context-measure.h" | 31 #include "src/context-measure.h" |
32 #include "src/contexts.h" | 32 #include "src/contexts.h" |
33 #include "src/conversions-inl.h" | 33 #include "src/conversions-inl.h" |
34 #include "src/counters.h" | 34 #include "src/counters.h" |
35 #include "src/debug/debug.h" | 35 #include "src/debug/debug.h" |
36 #include "src/deoptimizer.h" | 36 #include "src/deoptimizer.h" |
37 #include "src/execution.h" | 37 #include "src/execution.h" |
38 #include "src/global-handles.h" | 38 #include "src/global-handles.h" |
39 #include "src/icu_util.h" | 39 #include "src/icu_util.h" |
40 #include "src/isolate-inl.h" | 40 #include "src/isolate-inl.h" |
| 41 #include "src/json-parser.h" |
41 #include "src/messages.h" | 42 #include "src/messages.h" |
42 #include "src/parsing/json-parser.h" | |
43 #include "src/parsing/parser.h" | 43 #include "src/parsing/parser.h" |
44 #include "src/parsing/scanner-character-streams.h" | 44 #include "src/parsing/scanner-character-streams.h" |
45 #include "src/pending-compilation-error-handler.h" | 45 #include "src/pending-compilation-error-handler.h" |
46 #include "src/profiler/cpu-profiler.h" | 46 #include "src/profiler/cpu-profiler.h" |
47 #include "src/profiler/heap-profiler.h" | 47 #include "src/profiler/heap-profiler.h" |
48 #include "src/profiler/heap-snapshot-generator-inl.h" | 48 #include "src/profiler/heap-snapshot-generator-inl.h" |
49 #include "src/profiler/profile-generator-inl.h" | 49 #include "src/profiler/profile-generator-inl.h" |
50 #include "src/profiler/sampler.h" | 50 #include "src/profiler/sampler.h" |
51 #include "src/property.h" | 51 #include "src/property.h" |
52 #include "src/property-descriptor.h" | 52 #include "src/property-descriptor.h" |
(...skipping 8501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8554 Address callback_address = | 8554 Address callback_address = |
8555 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8555 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
8556 VMState<EXTERNAL> state(isolate); | 8556 VMState<EXTERNAL> state(isolate); |
8557 ExternalCallbackScope call_scope(isolate, callback_address); | 8557 ExternalCallbackScope call_scope(isolate, callback_address); |
8558 callback(info); | 8558 callback(info); |
8559 } | 8559 } |
8560 | 8560 |
8561 | 8561 |
8562 } // namespace internal | 8562 } // namespace internal |
8563 } // namespace v8 | 8563 } // namespace v8 |
OLD | NEW |