diff options
author | Adrian Thurston <thurston@complang.org> | 2008-11-12 04:55:08 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2008-11-12 04:55:08 +0000 |
commit | a1d7c7a3417a3f432c4a99cbd7465aa4a74d4b7a (patch) | |
tree | 697aa28f0938202f6034c422f226ed48eb620a22 | |
parent | f2ed2c24ae5a098755dfcad3610cd0add92e2127 (diff) | |
download | colm-a1d7c7a3417a3f432c4a99cbd7465aa4a74d4b7a.tar.gz |
Don't need to clear the entire vm_stack.
-rw-r--r-- | colm/bytecode.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/colm/bytecode.cpp b/colm/bytecode.cpp index 4cdaae80..76ba7a0a 100644 --- a/colm/bytecode.cpp +++ b/colm/bytecode.cpp @@ -337,8 +337,7 @@ void Program::clear( Tree **vm_stack, Tree **sp ) mapElPool.clear(); //reverseCode.empty(); - - memset( vm_stack, 0, sizeof(Tree*) * VM_STACK_SIZE); + //memset( vm_stack, 0, sizeof(Tree*) * VM_STACK_SIZE); } void Program::allocGlobal() |