OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #include "src/vm/port.h" | 5 #include "src/vm/port.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include "src/vm/interpreter.h" | 9 #include "src/vm/interpreter.h" |
10 #include "src/vm/natives.h" | 10 #include "src/vm/natives.h" |
11 #include "src/vm/object.h" | 11 #include "src/vm/object.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 181 |
182 return TargetYieldResult(port, true).AsObject(); | 182 return TargetYieldResult(port, true).AsObject(); |
183 } | 183 } |
184 | 184 |
185 port->Unlock(); | 185 port->Unlock(); |
186 return Failure::illegal_state(); | 186 return Failure::illegal_state(); |
187 } | 187 } |
188 END_NATIVE() | 188 END_NATIVE() |
189 | 189 |
190 } // namespace fletch | 190 } // namespace fletch |
OLD | NEW |