(JSProgram program)
| 164 | // ---------------------------------------------------------------------- |
| 165 | |
| 166 | public Completion execute(JSProgram program) { |
| 167 | BlockManager originalBlockManager = this.blockManager; |
| 168 | try { |
| 169 | this.blockManager = program.getBlockManager(); |
| 170 | ThreadContextManager.pushContext(this); |
| 171 | setStrict(program.isStrict()); |
| 172 | this.fileName = program.getFileName(); |
| 173 | performDeclarationBindingInstantiation(program); |
| 174 | try { |
| 175 | return program.execute(this); |
| 176 | } catch (ThrowException e) { |
| 177 | throw e; |
| 178 | } |
| 179 | } finally { |
| 180 | ThreadContextManager.popContext(); |
| 181 | this.blockManager = originalBlockManager; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | public Object eval(JSProgram eval, boolean direct) { |
| 186 | BlockManager originalBlockManager = this.blockManager; |
nothing calls this directly
no test coverage detected