Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 740199c29817a5a6ab4cf4ffb6a37f1bd16ec3e1..d869e04ef38538438a445a1f529aed426c6ab1ef 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -559,6 +559,9 @@ class WasmFullDecoder : public WasmDecoder { |
ssa_env->control = start; |
ssa_env->effect = start; |
SetEnv("initial", ssa_env); |
+ if (builder_) { |
titzer
2016/08/17 11:17:23
Will the BUILD() macro work here?
ahaas
2016/08/17 16:12:57
Actually not, because InitStackCheck does not retu
|
+ builder_->InitStackCheck(position()); |
+ } |
} |
TFNode* DefaultValue(LocalType type) { |