Index: src/wasm/wasm-function-name-table.h |
diff --git a/src/wasm/wasm-function-name-table.h b/src/wasm/wasm-function-name-table.h |
index ffee7824137d847b7d2d0f8bade4a372057b98b7..9b6a2c8875cad4d6174176adea0583c88a362a05 100644 |
--- a/src/wasm/wasm-function-name-table.h |
+++ b/src/wasm/wasm-function-name-table.h |
@@ -16,8 +16,9 @@ |
struct WasmModule; |
// Encode all function names of the WasmModule into one ByteArray. |
-Handle<ByteArray> BuildFunctionNamesTable(Isolate* isolate, |
- const WasmModule* module); |
+// Returns undefined if the array length would not fit in an integer value. |
+Handle<Object> BuildFunctionNamesTable(Isolate* isolate, |
+ const WasmModule* module); |
// Extract the function name for the given func_index from the function name |
// table. |