Mercurial Hosting > luan
comparison src/luan/interp/LuanStateImpl.java @ 126:0149bdf98fd8
add ThreadLib
git-svn-id: https://luan-java.googlecode.com/svn/trunk@127 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 06 Jun 2014 14:16:38 +0000 |
parents | d7be9b3abf1a |
children | 15a8e6588f3c |
comparison
equal
deleted
inserted
replaced
125:0cd559a16758 | 126:0149bdf98fd8 |
---|---|
64 private LuanStateImpl(LuanStateImpl luan) { | 64 private LuanStateImpl(LuanStateImpl luan) { |
65 super(luan); | 65 super(luan); |
66 } | 66 } |
67 | 67 |
68 @Override public LuanState shallowClone() { | 68 @Override public LuanState shallowClone() { |
69 if( frame != null ) | 69 // if( frame != null ) |
70 throw new IllegalStateException("frame isn't null"); | 70 // throw new IllegalStateException("frame isn't null"); |
71 return new LuanStateImpl(this); | 71 return new LuanStateImpl(this); |
72 } | 72 } |
73 | 73 |
74 @Override public void deepenClone(LuanState clone,DeepCloner cloner) { | 74 @Override public void deepenClone(LuanState clone,DeepCloner cloner) { |
75 super.deepenClone(clone,cloner); | 75 super.deepenClone(clone,cloner); |