| 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/process.h" | 5 #include "src/vm/process.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include "src/shared/assert.h" | 9 #include "src/shared/assert.h" |
| 10 #include "src/shared/bytecodes.h" | 10 #include "src/shared/bytecodes.h" |
| 11 #include "src/shared/flags.h" | 11 #include "src/shared/flags.h" |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 Instance* channel = queue->port()->channel(); | 634 Instance* channel = queue->port()->channel(); |
| 635 if (channel != NULL) return channel; | 635 if (channel != NULL) return channel; |
| 636 mailbox->AdvanceCurrentMessage(); | 636 mailbox->AdvanceCurrentMessage(); |
| 637 queue = mailbox->CurrentMessage(); | 637 queue = mailbox->CurrentMessage(); |
| 638 } | 638 } |
| 639 return process->program()->null_object(); | 639 return process->program()->null_object(); |
| 640 } | 640 } |
| 641 END_NATIVE() | 641 END_NATIVE() |
| 642 | 642 |
| 643 } // namespace fletch | 643 } // namespace fletch |
| OLD | NEW |