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/cpu-profiler.h" | 28 #include "src/cpu-profiler.h" |
29 #include "src/debug.h" | 29 #include "src/debug.h" |
30 #include "src/deoptimizer.h" | 30 #include "src/deoptimizer.h" |
31 #include "src/execution.h" | 31 #include "src/execution.h" |
32 #include "src/global-handles.h" | 32 #include "src/global-handles.h" |
33 #include "src/heap-profiler.h" | 33 #include "src/heap-profiler.h" |
34 #include "src/heap-snapshot-generator-inl.h" | 34 #include "src/heap-snapshot-generator-inl.h" |
35 #include "src/icu_util.h" | 35 #include "src/icu_util.h" |
36 #include "src/json-parser.h" | 36 #include "src/json-parser.h" |
37 #include "src/messages.h" | 37 #include "src/messages.h" |
38 #include "src/natives.h" | |
39 #include "src/parser.h" | 38 #include "src/parser.h" |
40 #include "src/pending-compilation-error-handler.h" | 39 #include "src/pending-compilation-error-handler.h" |
41 #include "src/profile-generator-inl.h" | 40 #include "src/profile-generator-inl.h" |
42 #include "src/property.h" | 41 #include "src/property.h" |
43 #include "src/property-details.h" | 42 #include "src/property-details.h" |
44 #include "src/prototype.h" | 43 #include "src/prototype.h" |
45 #include "src/runtime/runtime.h" | 44 #include "src/runtime/runtime.h" |
46 #include "src/runtime-profiler.h" | 45 #include "src/runtime-profiler.h" |
47 #include "src/sampler.h" | 46 #include "src/sampler.h" |
48 #include "src/scanner-character-streams.h" | 47 #include "src/scanner-character-streams.h" |
49 #include "src/simulator.h" | 48 #include "src/simulator.h" |
50 #include "src/snapshot.h" | 49 #include "src/snapshot/natives.h" |
| 50 #include "src/snapshot/snapshot.h" |
51 #include "src/unicode-inl.h" | 51 #include "src/unicode-inl.h" |
52 #include "src/v8threads.h" | 52 #include "src/v8threads.h" |
53 #include "src/version.h" | 53 #include "src/version.h" |
54 #include "src/vm-state-inl.h" | 54 #include "src/vm-state-inl.h" |
55 | 55 |
56 | 56 |
57 namespace v8 { | 57 namespace v8 { |
58 | 58 |
59 #define LOG_API(isolate, expr) LOG(isolate, ApiEntryCall(expr)) | 59 #define LOG_API(isolate, expr) LOG(isolate, ApiEntryCall(expr)) |
60 | 60 |
(...skipping 8001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8062 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); | 8062 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); |
8063 Address callback_address = | 8063 Address callback_address = |
8064 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); | 8064 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
8065 VMState<EXTERNAL> state(isolate); | 8065 VMState<EXTERNAL> state(isolate); |
8066 ExternalCallbackScope call_scope(isolate, callback_address); | 8066 ExternalCallbackScope call_scope(isolate, callback_address); |
8067 callback(info); | 8067 callback(info); |
8068 } | 8068 } |
8069 | 8069 |
8070 | 8070 |
8071 } } // namespace v8::internal | 8071 } } // namespace v8::internal |
OLD | NEW |