equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2018, 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. |
66 GUARDED_VM_QUICK_ENTRY(return get_symbol()->as_quoted_ascii();) |
66 GUARDED_VM_QUICK_ENTRY(return get_symbol()->as_quoted_ascii();) |
67 } |
67 } |
68 |
68 |
69 // ------------------------------------------------------------------ |
69 // ------------------------------------------------------------------ |
70 // ciSymbol::base |
70 // ciSymbol::base |
71 const jbyte* ciSymbol::base() { |
71 const u1* ciSymbol::base() { |
72 GUARDED_VM_ENTRY(return get_symbol()->base();) |
72 GUARDED_VM_ENTRY(return get_symbol()->base();) |
73 } |
73 } |
74 |
74 |
75 // ------------------------------------------------------------------ |
75 // ------------------------------------------------------------------ |
76 // ciSymbol::byte_at |
76 // ciSymbol::char_at |
77 int ciSymbol::byte_at(int i) { |
77 char ciSymbol::char_at(int i) { |
78 GUARDED_VM_ENTRY(return get_symbol()->byte_at(i);) |
78 GUARDED_VM_ENTRY(return get_symbol()->char_at(i);) |
79 } |
79 } |
80 |
80 |
81 // ------------------------------------------------------------------ |
81 // ------------------------------------------------------------------ |
82 // ciSymbol::starts_with |
82 // ciSymbol::starts_with |
83 // |
83 // |