OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library fletchc.bytecode_assembler; | 5 library fletchc.bytecode_assembler; |
6 | 6 |
7 import '../bytecodes.dart'; | 7 import '../bytecodes.dart'; |
8 | 8 |
9 const int IMPLICIT_STACK_OVERFLOW_LIMIT = 32; | 9 const int IMPLICIT_STACK_OVERFLOW_LIMIT = 32; |
10 const int frameDescriptorSize = 3; | 10 const int frameDescriptorSize = 3; |
11 | 11 |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 | 657 |
658 void invokeNativeYield(int arity, int index) { | 658 void invokeNativeYield(int arity, int index) { |
659 internalAdd(new InvokeNativeYield(arity, index)); | 659 internalAdd(new InvokeNativeYield(arity, index)); |
660 } | 660 } |
661 | 661 |
662 void emitThrow() { | 662 void emitThrow() { |
663 hasBindAfterTerminator = false; | 663 hasBindAfterTerminator = false; |
664 internalAdd(const Throw()); | 664 internalAdd(const Throw()); |
665 } | 665 } |
666 } | 666 } |
OLD | NEW |