Commit 085c18b9 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Zero out 'globals' in the ASTInterpreter constructor

Maybe the GC should zero-initialize everything, but it doesn't,
so we would get garbage values in that field.
parent 9d5b5a63
......@@ -278,6 +278,7 @@ ASTInterpreter::ASTInterpreter(CompiledFunction* compiled_function)
generator(0),
edgecount(0),
frame_info(ExcInfo(NULL, NULL, NULL)),
globals(0),
frame_addr(0) {
CLFunction* f = compiled_function->clfunc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment