Chromium Code Reviews| Index: src/wasm/wasm-module.cc |
| diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
| index e5173eba092125e14e79ec818d335a9c114c0dde..17f828097403c664cc53d952f6621c4da9c79a8e 100644 |
| --- a/src/wasm/wasm-module.cc |
| +++ b/src/wasm/wasm-module.cc |
| @@ -1923,6 +1923,10 @@ class WasmInstanceBuilder { |
| case kWasmF64: |
| num = *GetRawGlobalPtr<double>(global); |
| break; |
| + case kWasmI64: |
| + thrower_->LinkError( |
| + "export of globals of type I64 is not allowed."); |
| + break; |
| default: |
| UNREACHABLE(); |
| } |