comparison src/share/vm/prims/methodHandleWalk.hpp @ 1161:1fc01a2425ce

Merge
author iveresov
date Tue, 12 Jan 2010 13:54:40 -0800
parents cd37471eaecc
children c18cbe5936b8
comparison
equal deleted inserted replaced
1149:0579c695832f 1161:1fc01a2425ce
402 public: 402 public:
403 MethodHandleCompiler(Handle root, methodHandle call_method, bool for_invokedynamic, TRAPS); 403 MethodHandleCompiler(Handle root, methodHandle call_method, bool for_invokedynamic, TRAPS);
404 404
405 // Compile the given MH chain into bytecode. 405 // Compile the given MH chain into bytecode.
406 methodHandle compile(TRAPS); 406 methodHandle compile(TRAPS);
407
408 // Tests if the given class is a MH adapter holder.
409 static bool klass_is_method_handle_adapter_holder(klassOop klass) {
410 return (klass == SystemDictionary::MethodHandle_klass() ||
411 klass == SystemDictionary::InvokeDynamic_klass());
412 }
407 }; 413 };