| 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 15 matching lines...) Expand all Loading... |
| 26 #include "src/context-measure.h" | 26 #include "src/context-measure.h" |
| 27 #include "src/contexts.h" | 27 #include "src/contexts.h" |
| 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/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/icu_util.h" | 34 #include "src/icu_util.h" |
| 35 #include "src/isolate-inl.h" | 35 #include "src/isolate-inl.h" |
| 36 #include "src/json-parser.h" | |
| 37 #include "src/messages.h" | 36 #include "src/messages.h" |
| 38 #include "src/parser.h" | 37 #include "src/parsing/json-parser.h" |
| 38 #include "src/parsing/parser.h" |
| 39 #include "src/parsing/scanner-character-streams.h" |
| 39 #include "src/pending-compilation-error-handler.h" | 40 #include "src/pending-compilation-error-handler.h" |
| 40 #include "src/profiler/cpu-profiler.h" | 41 #include "src/profiler/cpu-profiler.h" |
| 41 #include "src/profiler/heap-profiler.h" | 42 #include "src/profiler/heap-profiler.h" |
| 42 #include "src/profiler/heap-snapshot-generator-inl.h" | 43 #include "src/profiler/heap-snapshot-generator-inl.h" |
| 43 #include "src/profiler/profile-generator-inl.h" | 44 #include "src/profiler/profile-generator-inl.h" |
| 44 #include "src/profiler/sampler.h" | 45 #include "src/profiler/sampler.h" |
| 45 #include "src/property.h" | 46 #include "src/property.h" |
| 46 #include "src/property-descriptor.h" | 47 #include "src/property-descriptor.h" |
| 47 #include "src/property-details.h" | 48 #include "src/property-details.h" |
| 48 #include "src/prototype.h" | 49 #include "src/prototype.h" |
| 49 #include "src/runtime/runtime.h" | 50 #include "src/runtime/runtime.h" |
| 50 #include "src/runtime-profiler.h" | 51 #include "src/runtime-profiler.h" |
| 51 #include "src/scanner-character-streams.h" | |
| 52 #include "src/simulator.h" | 52 #include "src/simulator.h" |
| 53 #include "src/snapshot/natives.h" | 53 #include "src/snapshot/natives.h" |
| 54 #include "src/snapshot/snapshot.h" | 54 #include "src/snapshot/snapshot.h" |
| 55 #include "src/startup-data-util.h" | 55 #include "src/startup-data-util.h" |
| 56 #include "src/unicode-inl.h" | 56 #include "src/unicode-inl.h" |
| 57 #include "src/v8.h" | 57 #include "src/v8.h" |
| 58 #include "src/v8threads.h" | 58 #include "src/v8threads.h" |
| 59 #include "src/version.h" | 59 #include "src/version.h" |
| 60 #include "src/vm-state-inl.h" | 60 #include "src/vm-state-inl.h" |
| 61 | 61 |
| (...skipping 8463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8525 Address callback_address = | 8525 Address callback_address = |
| 8526 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8526 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
| 8527 VMState<EXTERNAL> state(isolate); | 8527 VMState<EXTERNAL> state(isolate); |
| 8528 ExternalCallbackScope call_scope(isolate, callback_address); | 8528 ExternalCallbackScope call_scope(isolate, callback_address); |
| 8529 callback(info); | 8529 callback(info); |
| 8530 } | 8530 } |
| 8531 | 8531 |
| 8532 | 8532 |
| 8533 } // namespace internal | 8533 } // namespace internal |
| 8534 } // namespace v8 | 8534 } // namespace v8 |
| OLD | NEW |