Lines Matching defs:function

27 #include "include/v8-function.h"
2092 // Check if the argument is a valid function.
2094 isolate->ThrowError("Expected function as single argument.");
2101 isolate->ThrowError("Expected function as single argument.");
2117 isolate->ThrowError("Expected function as bound target.");
2125 i::Handle<i::JSFunction> function = i::Handle<i::JSFunction>::cast(callable);
2126 if (!function->shared().HasBytecodeArray()) {
2131 handle(function->shared().GetBytecodeArray(i_isolate), i_isolate);
2133 bool has_baseline = function->shared().HasBaselineCode();
2139 function->shared().GetCode().bytecode_offset_table()),
2426 } else if (strcmp("function", *str) == 0) {
2441 bool Shell::FunctionAndArgumentsToString(Local<Function> function,
2447 function->FunctionProtoToString(context);
2450 isolate->ThrowError("Failed to convert function to string");
2540 isolate->ThrowError("1st argument must be a string or a function");
2693 // We have to assume that the fuzzer will be able to call this function e.g. by
2695 // this function is implemented in a way that requires passing some magic value
2766 // Print wasm-function[(function index)]:(offset): (message).
2769 printf("wasm-function[%d]:0x%x: %s\n", function_index, offset,
3060 // Reliable access to quit functionality. The "quit" method function
3142 // For different runs of correctness fuzzing the bytecode of a function
3418 // Write function stats.
3821 Local<Value> function =
3827 CHECK(context->Global()->Set(context, function_name, function).FromJust());
4830 const std::function<platform::MessageLoopBehavior()>& behavior) {