Mercurial > hg > graal-compiler
comparison src/share/vm/ci/ciStreams.cpp @ 2357:8033953d67ff
7012648: move JSR 292 to package java.lang.invoke and adjust names
Summary: package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
author | jrose |
---|---|
date | Fri, 11 Mar 2011 22:34:57 -0800 |
parents | f95d63e2154a |
children | 1d7922586cf6 |
comparison
equal
deleted
inserted
replaced
2356:72dee110246f | 2357:8033953d67ff |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 2011, 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. |
378 VM_ENTRY_MARK; | 378 VM_ENTRY_MARK; |
379 constantPoolHandle cpool(_method->get_methodOop()->constants()); | 379 constantPoolHandle cpool(_method->get_methodOop()->constants()); |
380 bool ignore; | 380 bool ignore; |
381 // report as InvokeDynamic for invokedynamic, which is syntactically classless | 381 // report as InvokeDynamic for invokedynamic, which is syntactically classless |
382 if (cur_bc() == Bytecodes::_invokedynamic) | 382 if (cur_bc() == Bytecodes::_invokedynamic) |
383 return CURRENT_ENV->get_klass_by_name(_holder, ciSymbol::java_dyn_InvokeDynamic(), false); | 383 return CURRENT_ENV->get_klass_by_name(_holder, ciSymbol::java_lang_invoke_InvokeDynamic(), false); |
384 return CURRENT_ENV->get_klass_by_index(cpool, get_method_holder_index(), ignore, _holder); | 384 return CURRENT_ENV->get_klass_by_index(cpool, get_method_holder_index(), ignore, _holder); |
385 } | 385 } |
386 | 386 |
387 // ------------------------------------------------------------------ | 387 // ------------------------------------------------------------------ |
388 // ciBytecodeStream::get_method_holder_index | 388 // ciBytecodeStream::get_method_holder_index |