equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
46 Register last_java_sp, |
46 Register last_java_sp, |
47 address entry_point, |
47 address entry_point, |
48 bool allow_relocation, |
48 bool allow_relocation, |
49 bool check_exceptions); |
49 bool check_exceptions); |
50 |
50 |
51 virtual void check_and_handle_popframe(Register java_thread); |
|
52 virtual void check_and_handle_earlyret(Register java_thread); |
|
53 |
|
54 // Base routine for all dispatches. |
51 // Base routine for all dispatches. |
55 void dispatch_base(TosState state, address* table); |
52 void dispatch_base(TosState state, address* table); |
56 |
53 |
57 public: |
54 public: |
58 InterpreterMacroAssembler(CodeBuffer* c) |
55 InterpreterMacroAssembler(CodeBuffer* c) |
59 : MacroAssembler(c) {} |
56 : MacroAssembler(c) {} |
|
57 |
|
58 virtual void check_and_handle_popframe(Register java_thread); |
|
59 virtual void check_and_handle_earlyret(Register java_thread); |
60 |
60 |
61 void jump_to_entry(address entry, Register Rscratch); |
61 void jump_to_entry(address entry, Register Rscratch); |
62 |
62 |
63 virtual void load_earlyret_value(TosState state); |
63 virtual void load_earlyret_value(TosState state); |
64 |
64 |