| 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/icu_util.h" | 28 #include "src/icu_util.h" |
| 29 #include "src/json-parser.h" | 29 #include "src/json-parser.h" |
| 30 #include "src/messages.h" | 30 #include "src/messages.h" |
| 31 #ifdef COMPRESS_STARTUP_DATA_BZ2 | 31 #ifdef COMPRESS_STARTUP_DATA_BZ2 |
| 32 #include "src/natives.h" | 32 #include "src/natives.h" |
| 33 #endif | 33 #endif |
| 34 #include "src/parser.h" | 34 #include "src/parser.h" |
| 35 #include "src/platform.h" | 35 #include "src/platform.h" |
| 36 #include "src/platform/time.h" | 36 #include "src/platform/time.h" |
| 37 #include "src/profile-generator-inl.h" | 37 #include "src/profile-generator-inl.h" |
| 38 #include "src/property.h" |
| 38 #include "src/property-details.h" | 39 #include "src/property-details.h" |
| 39 #include "src/property.h" | |
| 40 #include "src/runtime.h" | 40 #include "src/runtime.h" |
| 41 #include "src/runtime-profiler.h" | 41 #include "src/runtime-profiler.h" |
| 42 #include "src/scanner-character-streams.h" | 42 #include "src/scanner-character-streams.h" |
| 43 #include "src/simulator.h" | 43 #include "src/simulator.h" |
| 44 #include "src/snapshot.h" | 44 #include "src/snapshot.h" |
| 45 #include "src/unicode-inl.h" | 45 #include "src/unicode-inl.h" |
| 46 #include "src/utils/random-number-generator.h" | 46 #include "src/utils/random-number-generator.h" |
| 47 #include "src/v8threads.h" | 47 #include "src/v8threads.h" |
| 48 #include "src/version.h" | 48 #include "src/version.h" |
| 49 #include "src/vm-state-inl.h" | 49 #include "src/vm-state-inl.h" |
| (...skipping 7548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7598 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); | 7598 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); |
| 7599 Address callback_address = | 7599 Address callback_address = |
| 7600 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 7600 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
| 7601 VMState<EXTERNAL> state(isolate); | 7601 VMState<EXTERNAL> state(isolate); |
| 7602 ExternalCallbackScope call_scope(isolate, callback_address); | 7602 ExternalCallbackScope call_scope(isolate, callback_address); |
| 7603 callback(info); | 7603 callback(info); |
| 7604 } | 7604 } |
| 7605 | 7605 |
| 7606 | 7606 |
| 7607 } } // namespace v8::internal | 7607 } } // namespace v8::internal |
| OLD | NEW |