/dports/lang/v8/v8-9.6.180.12/src/wasm/ |
H A D | init-expr-interface.cc | 58 result->runtime_value = WasmValue( in RefFunc() 86 WasmValue(isolate_->factory()->NewWasmStruct( in StructNewWithRtt() 98 return WasmValue(0); in DefaultValueForType() 100 return WasmValue(int64_t{0}); in DefaultValueForType() 102 return WasmValue(0.0f); in DefaultValueForType() 104 return WasmValue(0.0); in DefaultValueForType() 106 return WasmValue(Simd128()); in DefaultValueForType() 128 WasmValue(isolate_->factory()->NewWasmStruct( in StructNewDefault() 139 std::vector<WasmValue> element_values; in ArrayInit() 142 WasmValue(isolate_->factory()->NewWasmArray( in ArrayInit() [all …]
|
H A D | wasm-value.h | 94 class WasmValue { 96 WasmValue() : type_(kWasmVoid), bit_pattern_{} {} in WasmValue() function 117 WasmValue(byte* raw_bytes, ValueType type) : type_(type), bit_pattern_{} { in WasmValue() function 139 bool operator==(const WasmValue& other) const { 155 WasmValue Packed(ValueType packed_type) const { in Packed() 158 return WasmValue(static_cast<int8_t>(to_i32())); in Packed() 162 return WasmValue(static_cast<int16_t>(to_i32())); in Packed() 173 static WasmValue ForUintPtr(uintptr_t value) { in ForUintPtr() 176 return WasmValue{type{value}}; in ForUintPtr() 220 inline ctype WasmValue::to_unchecked() const { \ [all …]
|
H A D | init-expr-interface.h | 36 WasmValue runtime_value; 74 WasmValue result() { 84 WasmValue result_;
|
H A D | wasm-debug.cc | 129 WasmValue GetLocalValue(int local, Address pc, Address fp, in GetLocalValue() 144 WasmValue GetStackValue(int index, Address pc, Address fp, in GetStackValue() 584 WasmValue GetValue(const DebugSideTable* debug_side_table, in GetValue() 592 return value->type == kWasmI32 ? WasmValue(value->i32_const) in GetValue() 608 return WasmValue((uint64_t{high_word} << 32) | low_word); in GetValue() 618 return WasmValue(obj, value->type); in GetValue() 634 return WasmValue(ReadUnalignedValue<float>(spilled_addr)); in GetValue() 636 return WasmValue(ReadUnalignedValue<double>(spilled_addr)); in GetValue() 653 return WasmValue(ReadUnalignedValue<float>(stack_address)); in GetValue() 655 return WasmValue(ReadUnalignedValue<double>(stack_address)); in GetValue() [all …]
|
H A D | wasm-debug.h | 37 class WasmValue; variable 177 WasmValue GetLocalValue(int local, Address pc, Address fp, 183 WasmValue GetStackValue(int index, Address pc, Address fp,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/wasm/ |
H A D | wasm-value.h | 84 class WasmValue { 86 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue() function 89 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \ 109 bool operator==(const WasmValue& other) const { 120 static WasmValue ForUintPtr(uintptr_t value) { in ForUintPtr() 123 return WasmValue{type{value}}; in ForUintPtr() 133 inline ctype WasmValue::to_unchecked() const { \ 137 inline ctype WasmValue::to() const { \
|
H A D | wasm-debug.cc | 54 Handle<Object> WasmValueToValueObject(Isolate* isolate, WasmValue value) { in WasmValueToValueObject() 237 WasmValue value = in GetModuleScopeObject() 260 WasmValue GetLocalValue(int local, Address pc, Address fp, in GetLocalValue() 274 WasmValue GetStackValue(int index, Address pc, Address fp, in GetStackValue() 310 WasmValue value = in GetLocalScopeObject() 342 WasmValue value = in GetStackScopeObject() 691 : WasmValue( in GetValue() 708 return WasmValue((uint64_t{high_word} << 32) | low_word); in GetValue() 726 return WasmValue(ReadUnalignedValue<float>(spilled_addr)); in GetValue() 728 return WasmValue(ReadUnalignedValue<double>(spilled_addr)); in GetValue() [all …]
|
H A D | wasm-debug.h | 36 class WasmValue; variable 154 WasmValue GetLocalValue(int local, Address pc, Address fp, 160 WasmValue GetStackValue(int index, Address pc, Address fp,
|
/dports/lang/v8/v8-9.6.180.12/test/common/wasm/ |
H A D | wasm-module-runner.cc | 45 base::OwnedVector<WasmValue> MakeDefaultInterpreterArguments( in MakeDefaultInterpreterArguments() 48 auto arguments = base::OwnedVector<WasmValue>::New(param_count); in MakeDefaultInterpreterArguments() 53 arguments[i] = WasmValue(static_cast<int32_t>(i)); in MakeDefaultInterpreterArguments() 56 arguments[i] = WasmValue(static_cast<int64_t>(i)); in MakeDefaultInterpreterArguments() 59 arguments[i] = WasmValue(static_cast<float>(i)); in MakeDefaultInterpreterArguments() 62 arguments[i] = WasmValue(static_cast<double>(i)); in MakeDefaultInterpreterArguments() 66 arguments[i] = WasmValue(Simd128{s128_bytes}); in MakeDefaultInterpreterArguments() 71 WasmValue(Handle<Object>::cast(isolate->factory()->null_value()), in MakeDefaultInterpreterArguments() 138 int32_t function_index, WasmValue* args) { in InterpretWasmModule() 175 WasmValue return_value = interpreter.GetReturnValue(); in InterpretWasmModule()
|
H A D | wasm-interpreter.cc | 1380 WasmValue value_; 1419 WasmValue val; in InitLocals() 1685 WasmValue result( in ExecuteLoad() 2137 WasmValue result = WasmValue(static_cast<op_type>(AdjustByteOrder<type>( \ in ExecuteAtomicOp() 2225 Push(WasmValue(0)); in ExecuteAtomicOp() 3014 Push(WasmValue( in DoSimdStoreLane() 3029 WasmValue v2 = Pop(); in DoSimdExtMul() 3030 WasmValue v1 = Pop(); in DoSimdExtMul() 3212 WasmValue value; in DoUnpackException() 3930 WasmValue Pop() { in Pop() [all …]
|
H A D | wasm-interpreter.h | 83 void InitFrame(const WasmFunction* function, WasmValue* args); 91 WasmValue GetReturnValue(int index = 0) const;
|
H A D | wasm-module-runner.h | 100 int32_t function_index, WasmValue* args); 104 base::OwnedVector<WasmValue> MakeDefaultInterpreterArguments(
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/wasm/ |
H A D | wasm-value.h | 71 class WasmValue { 73 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue() function 76 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \ 96 bool operator==(const WasmValue& other) const { 114 inline ctype WasmValue::to_unchecked() const { \ 118 inline ctype WasmValue::to() const { \
|
H A D | wasm-interpreter.cc | 1370 return WasmValue(ref); in ExtractValue() 1394 WasmValue value_; 1460 WasmValue val; in InitLocals() 1685 WasmValue result( in ExecuteLoad() 2002 WasmValue result; in ExecuteAtomicOp() 2679 Push(WasmValue((res))); in ExecuteSimdOp() 2953 WasmValue value; in DoUnpackException() 3125 WasmValue ex = Pop(); in Execute() 3136 WasmValue ex = Pop(); in Execute() 3740 WasmValue Pop() { in Pop() [all …]
|
H A D | wasm-interpreter.h | 69 WasmValue GetLocalValue(int index) const; 70 WasmValue GetStackValue(int index) const; 121 void InitFrame(const WasmFunction* function, WasmValue* args); 139 WasmValue GetReturnValue(int index = 0);
|
H A D | wasm-debug.cc | 51 Handle<Object> WasmValueToValueObject(Isolate* isolate, WasmValue value) { in WasmValueToValueObject() 165 Vector<WasmValue> argument_values, in Execute() 166 Vector<WasmValue> return_values) { in Execute() 408 WasmValue value = frame->GetLocalValue(i); in GetLocalScopeObject() 434 WasmValue value = frame->GetStackValue(i); in GetLocalScopeObject() 452 WasmValue value = frame->GetStackValue(i); in GetStackScopeObject() 562 WasmValue value = in GetGlobalScopeObject() 612 WasmValue value = in GetLocalScopeObject() 856 : WasmValue( in GetValue() 873 return WasmValue((uint64_t{high_word} << 32) | low_word); in GetValue() [all …]
|
/dports/www/node10/node-v10.24.1/deps/v8/src/wasm/ |
H A D | wasm-value.h | 71 class WasmValue { 73 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue() function 76 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \ 94 bool operator==(const WasmValue& other) const { 112 inline ctype WasmValue::to_unchecked() const { \ 116 inline ctype WasmValue::to() const { \
|
H A D | wasm-interpreter.cc | 1287 WasmValue val; in InitLocals() 1291 val = WasmValue(ctype{}); \ in InitLocals() 1419 WasmValue result( in ExecuteLoad() 1516 WasmValue result; in ExecuteAtomicOp() 1874 WasmValue val = Pop(); in Execute() 1881 WasmValue val = Pop(); in Execute() 1957 WasmValue val; in Execute() 1977 WasmValue val = Pop(); in Execute() 2204 WasmValue Pop() { in Pop() 2224 void Push(WasmValue val) { in Push() [all …]
|
H A D | wasm-interpreter.h | 70 WasmValue GetLocalValue(int index) const; 71 WasmValue GetStackValue(int index) const; 121 void InitFrame(const WasmFunction* function, WasmValue* args); 137 WasmValue GetReturnValue(int index = 0);
|
/dports/lang/v8/v8-9.6.180.12/test/cctest/wasm/ |
H A D | test-wasm-breakpoints.cc | 171 WasmValue val; 204 std::vector<WasmValue> locals; 205 std::vector<WasmValue> stack; 239 WasmValue local_value = debug_info->GetLocalValue( in BreakProgramRequested() 247 WasmValue stack_value = debug_info->GetStackValue( in BreakProgramRequested() 258 WasmValue MakeWasmVal(Arg arg) { in MakeWasmVal() 259 return WasmValue(arg); in MakeWasmVal() 263 WasmValue MakeWasmVal(long arg) { // NOLINT: allow long parameter in MakeWasmVal() 264 return WasmValue(static_cast<int64_t>(arg)); in MakeWasmVal() 268 std::vector<WasmValue> wasmVec(Args... args) { in wasmVec() [all …]
|
H A D | wasm-run-utils.h | 561 inline WasmValue WasmValueInitializer(T value) { in WasmValueInitializer() 562 return WasmValue(value); in WasmValueInitializer() 565 inline WasmValue WasmValueInitializer(int8_t value) { in WasmValueInitializer() 566 return WasmValue(static_cast<int32_t>(value)); in WasmValueInitializer() 569 inline WasmValue WasmValueInitializer(int16_t value) { in WasmValueInitializer() 570 return WasmValue(static_cast<int32_t>(value)); in WasmValueInitializer() 628 std::array<WasmValue, sizeof...(p)> args{{WasmValueInitializer(p)...}}; in CallInterpreter() 633 WasmValue val = interpreter()->GetReturnValue(); in CallInterpreter()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/objects/ |
H A D | debug-objects-inl.h | 56 TQ_OBJECT_CONSTRUCTORS_IMPL(WasmValue) 57 NEVER_READ_ONLY_SPACE_IMPL(WasmValue)
|
H A D | debug-objects.h | 204 class WasmValue : public TorqueGeneratedWasmValue<WasmValue, Struct> { 208 TQ_OBJECT_CONSTRUCTORS(WasmValue)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/debug/wasm/gdb-server/ |
H A D | wasm-module-debug.h | 16 class WasmValue; variable 93 static bool GetWasmValue(const wasm::WasmValue& wasm_value, uint8_t* buffer,
|
/dports/lang/v8/v8-9.6.180.12/src/debug/ |
H A D | debug-wasm-objects.h | 26 class WasmValue; variable 63 const wasm::WasmValue& value,
|