| Index: src/wasm/wasm-module-builder.h
|
| diff --git a/src/wasm/wasm-module-builder.h b/src/wasm/wasm-module-builder.h
|
| index 057d6102f1fa026c1364b44e65717831ae667cb5..ed08923d35c70434c743d6e91d99cc770b467998 100644
|
| --- a/src/wasm/wasm-module-builder.h
|
| +++ b/src/wasm/wasm-module-builder.h
|
| @@ -132,8 +132,9 @@ class V8_EXPORT_PRIVATE WasmFunctionBuilder : public ZoneObject {
|
| void EmitWithU8U8(WasmOpcode opcode, const byte imm1, const byte imm2);
|
| void EmitWithVarInt(WasmOpcode opcode, uint32_t immediate);
|
| void EmitDirectCallIndex(uint32_t index);
|
| - void SetExported();
|
| - void SetName(const char* name, int name_length);
|
| + void Export();
|
| + void ExportAs(Vector<const char> name);
|
| + void SetName(Vector<const char> name);
|
|
|
| void WriteSignature(ZoneBuffer& buffer) const;
|
| void WriteExport(ZoneBuffer& buffer) const;
|
| @@ -160,6 +161,7 @@ class V8_EXPORT_PRIVATE WasmFunctionBuilder : public ZoneObject {
|
| uint32_t func_index_;
|
| ZoneVector<uint8_t> body_;
|
| ZoneVector<char> name_;
|
| + ZoneVector<char> exported_name_;
|
| ZoneVector<uint32_t> i32_temps_;
|
| ZoneVector<uint32_t> i64_temps_;
|
| ZoneVector<uint32_t> f32_temps_;
|
|
|