diff options
Diffstat (limited to 'vm/Thread.c')
| -rw-r--r-- | vm/Thread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/Thread.c b/vm/Thread.c index 6745dae36..b340f0bb7 100644 --- a/vm/Thread.c +++ b/vm/Thread.c @@ -974,6 +974,9 @@ static Thread* allocThread(int interpStackSize) /* give the thread code a chance to set things up */ dvmInitInterpStack(thread, interpStackSize); + /* One-time setup for interpreter/JIT state */ + dvmInitInterpreterState(thread); + return thread; } |
