Remove some unneeded checks and some unreachable breaks
Remove isSynchronized property from Frame now that we have the isSynchronized property in MethodInfo
Don't use variables in resolve's switch/case. Fixes #384.
Merge pull request #431 from marco-c/remove_unneeded_ifs

Remove some unneeded checks and some unreachable breaks
Merge pull request #432 from marco-c/remove_frame_issynchronized

Remove isSynchronized property from Frame now that we have it in MethodInfo
Merge pull request #433 from marco-c/optimize_resolve_switch

Don't use variables in resolve's switch/case
Merge branch 'master' into allow-scripts
call pipe in timeout to minimize risk of blocking child frame
test for socket.isClosed correctly in read0