Index: src/wasm/encoder.h |
diff --git a/src/wasm/encoder.h b/src/wasm/encoder.h |
index f0fabe998a0df7d6b8e07a78868c0ef8ab118055..3683cbf709fcf16b83c6f9cf96ffcb1f416b5f04 100644 |
--- a/src/wasm/encoder.h |
+++ b/src/wasm/encoder.h |
@@ -60,7 +60,6 @@ class WasmFunctionBuilder : public ZoneObject { |
const uint32_t* local_indices, uint32_t indices_size); |
void Emit(WasmOpcode opcode); |
void EmitWithU8(WasmOpcode opcode, const byte immediate); |
- void EmitWithLocal(WasmOpcode opcode); |
uint32_t EmitEditableImmediate(const byte immediate); |
void EditImmediate(uint32_t offset, const byte immediate); |
void Exported(uint8_t flag); |
@@ -136,7 +135,7 @@ class WasmModuleBuilder : public ZoneObject { |
private: |
struct CompareFunctionSigs { |
- int operator()(FunctionSig* a, FunctionSig* b) const; |
+ bool operator()(FunctionSig* a, FunctionSig* b) const; |
}; |
typedef ZoneMap<FunctionSig*, uint16_t, CompareFunctionSigs> SignatureMap; |