Index: src/wasm/wasm-debug.h |
diff --git a/src/wasm/wasm-debug.h b/src/wasm/wasm-debug.h |
index 965995127122cbbc599a7089f4b6d4a10e5db478..99bea66a265a2c3819f98de4c88752a0896acc43 100644 |
--- a/src/wasm/wasm-debug.h |
+++ b/src/wasm/wasm-debug.h |
@@ -37,6 +37,11 @@ class WasmDebugInfo : public FixedArray { |
// column. |
static Handle<FixedArray> GetFunctionOffsetTable( |
Handle<WasmDebugInfo> debug_info, int func_index); |
+ |
+ // Get the asm.js source position from a byte offset. |
+ // Must only be called if the associated wasm object was created from asm.js. |
+ static int GetAsmJsSourcePosition(Handle<WasmDebugInfo> debug_info, |
+ int func_index, int byte_offset); |
}; |
} // namespace wasm |