| 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 30 matching lines...) Expand all Loading... |
| 41 #include "src/isolate-inl.h" | 41 #include "src/isolate-inl.h" |
| 42 #include "src/json-parser.h" | 42 #include "src/json-parser.h" |
| 43 #include "src/messages.h" | 43 #include "src/messages.h" |
| 44 #include "src/parsing/parser.h" | 44 #include "src/parsing/parser.h" |
| 45 #include "src/parsing/scanner-character-streams.h" | 45 #include "src/parsing/scanner-character-streams.h" |
| 46 #include "src/pending-compilation-error-handler.h" | 46 #include "src/pending-compilation-error-handler.h" |
| 47 #include "src/profiler/cpu-profiler.h" | 47 #include "src/profiler/cpu-profiler.h" |
| 48 #include "src/profiler/heap-profiler.h" | 48 #include "src/profiler/heap-profiler.h" |
| 49 #include "src/profiler/heap-snapshot-generator-inl.h" | 49 #include "src/profiler/heap-snapshot-generator-inl.h" |
| 50 #include "src/profiler/profile-generator-inl.h" | 50 #include "src/profiler/profile-generator-inl.h" |
| 51 #include "src/profiler/sampler.h" | 51 #include "src/profiler/tick-sample.h" |
| 52 #include "src/property-descriptor.h" | 52 #include "src/property-descriptor.h" |
| 53 #include "src/property-details.h" | 53 #include "src/property-details.h" |
| 54 #include "src/property.h" | 54 #include "src/property.h" |
| 55 #include "src/prototype.h" | 55 #include "src/prototype.h" |
| 56 #include "src/runtime-profiler.h" | 56 #include "src/runtime-profiler.h" |
| 57 #include "src/runtime/runtime.h" | 57 #include "src/runtime/runtime.h" |
| 58 #include "src/simulator.h" | 58 #include "src/simulator.h" |
| 59 #include "src/snapshot/natives.h" | 59 #include "src/snapshot/natives.h" |
| 60 #include "src/snapshot/snapshot.h" | 60 #include "src/snapshot/snapshot.h" |
| 61 #include "src/startup-data-util.h" | 61 #include "src/startup-data-util.h" |
| (...skipping 8736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8798 Address callback_address = | 8798 Address callback_address = |
| 8799 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8799 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
| 8800 VMState<EXTERNAL> state(isolate); | 8800 VMState<EXTERNAL> state(isolate); |
| 8801 ExternalCallbackScope call_scope(isolate, callback_address); | 8801 ExternalCallbackScope call_scope(isolate, callback_address); |
| 8802 callback(info); | 8802 callback(info); |
| 8803 } | 8803 } |
| 8804 | 8804 |
| 8805 | 8805 |
| 8806 } // namespace internal | 8806 } // namespace internal |
| 8807 } // namespace v8 | 8807 } // namespace v8 |
| OLD | NEW |