/third_party/jerryscript/tests/unit-ext/module/ |
H A D | jerry-module-test.c | 141 handle_clear_require_cache (const jerry_value_t js_function, in handle_clear_require_cache() argument 146 (void) js_function; in handle_clear_require_cache() 157 handle_require (const jerry_value_t js_function, in handle_require() argument 162 (void) js_function; in handle_require() 201 jerry_value_t js_global = 0, js_function = 0, js_property_name = 0; in main() local 213 js_function = jerry_create_external_function (handle_require); in main() 215 res = jerry_set_property (js_global, js_property_name, js_function); in main() 220 jerry_release_value (js_function); in main() 222 js_function = jerry_create_external_function (handle_clear_require_cache); in main() 224 res = jerry_set_property (js_global, js_property_name, js_function); in main() [all...] |
/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 836 JSFunction js_function = JSFunction::cast(obj); in Fill() local 837 SharedFunctionInfo sfi = js_function.shared(); in Fill() 840 data->js_functions.emplace_back(js_function, isolate); in Fill() 1078 for (auto& js_function : data->js_functions) { in PatchScript() 1079 js_function->set_raw_feedback_cell( in PatchScript() 1081 if (!js_function->is_compiled()) continue; in PatchScript() 1083 js_function->shared().is_compiled_scope(isolate)); in PatchScript() 1084 JSFunction::EnsureFeedbackVector(isolate, js_function, in PatchScript() 1119 for (auto& js_function : data->js_functions) { in PatchScript() 1120 js_function in PatchScript() [all...] |
H A D | debug-interface.cc | 105 auto js_function = i::Handle<i::JSFunction>::cast(receiver); in GetFunctionDescription() local 107 if (js_function->shared().HasWasmExportedFunctionData()) { in GetFunctionDescription() 108 auto isolate = js_function->GetIsolate(); in GetFunctionDescription() 110 js_function->shared().wasm_exported_function_data().function_index(); in GetFunctionDescription() 112 js_function->shared().wasm_exported_function_data().instance(), in GetFunctionDescription() 127 return Utils::ToLocal(i::JSFunction::ToString(js_function)); in GetFunctionDescription()
|
/third_party/node/deps/v8/src/heap/ |
H A D | marking-visitor-inl.h | 162 Map map, JSFunction js_function) { in VisitJSFunction() 163 int size = concrete_visitor()->VisitJSObjectSubclass(map, js_function); in VisitJSFunction() 164 if (js_function.ShouldFlushBaselineCode(code_flush_mode_)) { in VisitJSFunction() 166 local_weak_objects_->baseline_flushing_candidates_local.Push(js_function); in VisitJSFunction() 168 VisitPointer(js_function, js_function.RawField(JSFunction::kCodeOffset)); in VisitJSFunction() 173 js_function.NeedsResetDueToFlushedBytecode()) { in VisitJSFunction() 174 local_weak_objects_->flushed_js_functions_local.Push(js_function); in VisitJSFunction() 161 VisitJSFunction( Map map, JSFunction js_function) VisitJSFunction() argument
|
/third_party/node/test/js-native-api/test_function/ |
H A D | test_function.c | 93 napi_value js_function; in finalize_function() local 94 NODE_API_CALL_RETURN_VOID(env, napi_get_reference_value(env, ref, &js_function)); in finalize_function() 99 napi_call_function(env, undefined, js_function, 0, NULL, NULL)); in finalize_function()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-objects.cc | 1448 int entry_index, Handle<WasmJSFunction> js_function) { in ImportWasmJSFunctionIntoTable() 1453 const wasm::FunctionSig* sig = js_function->GetSignature(&zone); in ImportWasmJSFunctionIntoTable() 1457 Handle<JSReceiver> callable(js_function->GetCallable(), isolate); in ImportWasmJSFunctionIntoTable() 1483 // TODO(manoskouk): Reuse js_function->wasm_to_js_wrapper_code(). in ImportWasmJSFunctionIntoTable() 1503 Handle<HeapObject> suspender = handle(js_function->GetSuspender(), isolate); in ImportWasmJSFunctionIntoTable() 1881 JSFunction js_function = JSFunction::cast(object); in IsWasmExportedFunction() 1882 CodeT code = js_function.code(); in IsWasmExportedFunction() 1888 DCHECK(js_function.shared().HasWasmExportedFunctionData()); in IsWasmExportedFunction() 1894 JSFunction js_function = JSFunction::cast(object); in IsWasmCapiFunction() 1897 // if (js_function in IsWasmCapiFunction() 1446 ImportWasmJSFunctionIntoTable( Isolate* isolate, Handle<WasmInstanceObject> instance, int table_index, int entry_index, Handle<WasmJSFunction> js_function) ImportWasmJSFunctionIntoTable() argument 2007 Handle<JSFunction> js_function = New() local 2134 Handle<JSFunction> js_function = New() local [all...] |
H A D | module-instantiate.cc | 1242 Handle<WasmJSFunction> js_function; in InitializeImportedIndirectFunctionTable() local 1243 if (maybe_js_function.ToHandle(&js_function)) { in InitializeImportedIndirectFunctionTable() 1245 isolate_, instance, table_index, i, js_function); in InitializeImportedIndirectFunctionTable()
|
H A D | wasm-objects.h | 510 Handle<WasmJSFunction> js_function);
|
/third_party/node/deps/v8/tools/debug_helper/ |
H A D | get-object-properties.cc | 688 TqJSFunction js_function(js_function_ptr); in GetStackFrame() 690 js_function.GetSharedFunctionInfoValue(memory_accessor); in GetStackFrame()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-create-lowering.cc | 391 JSFunctionRef js_function = in ReduceJSCreateGeneratorObject() local 393 if (!js_function.has_initial_map(dependencies())) return NoChange(); in ReduceJSCreateGeneratorObject() 396 dependencies()->DependOnInitialMapInstanceSizePrediction(js_function); in ReduceJSCreateGeneratorObject() 398 MapRef initial_map = js_function.initial_map(dependencies()); in ReduceJSCreateGeneratorObject() 403 SharedFunctionInfoRef shared = js_function.shared(); in ReduceJSCreateGeneratorObject()
|
H A D | wasm-compiler.cc | 423 Node* LoadSharedFunctionInfo(Node* js_function) { in LoadSharedFunctionInfo() argument 425 MachineType::TaggedPointer(), js_function, in LoadSharedFunctionInfo() 428 Node* LoadContextFromJSFunction(Node* js_function) { in LoadContextFromJSFunction() argument 430 MachineType::TaggedPointer(), js_function, in LoadContextFromJSFunction() 434 Node* LoadFunctionDataFromJSFunction(Node* js_function) { in LoadFunctionDataFromJSFunction() argument 435 Node* shared = LoadSharedFunctionInfo(js_function); in LoadFunctionDataFromJSFunction() 7810 auto js_function = Handle<WasmJSFunction>::cast(callable); 7811 suspender = handle(js_function->GetSuspender(), isolate); 7813 !js_function->MatchesSignatureForSuspend(expected_sig)) || 7815 !js_function [all...] |
/third_party/node/deps/v8/src/api/ |
H A D | api.cc | 2816 auto js_function = in CreateCodeCacheForFunction() local 2818 i::Handle<i::SharedFunctionInfo> shared(js_function->shared(), in CreateCodeCacheForFunction() 2819 js_function->GetIsolate()); in CreateCodeCacheForFunction()
|