1 /* |
1 /* |
2 * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
69 |
69 |
70 int shift_amount(BasicType t); |
70 int shift_amount(BasicType t); |
71 |
71 |
72 static bool is_single_instruction(LIR_Op* op); |
72 static bool is_single_instruction(LIR_Op* op); |
73 |
73 |
|
74 // Record the type of the receiver in ReceiverTypeData |
|
75 void type_profile_helper(Register mdo, int mdo_offset_bias, |
|
76 ciMethodData *md, ciProfileData *data, |
|
77 Register recv, Register tmp1, Label* update_done); |
74 public: |
78 public: |
75 void pack64( Register rs, Register rd ); |
79 void pack64(LIR_Opr src, LIR_Opr dst); |
76 void unpack64( Register rd ); |
80 void unpack64(LIR_Opr src, LIR_Opr dst); |
77 |
81 |
78 enum { |
82 enum { |
79 #ifdef _LP64 |
83 #ifdef _LP64 |
80 call_stub_size = 68, |
84 call_stub_size = 68, |
81 #else |
85 #else |