comparison src/share/vm/shark/sharkCompiler.hpp @ 7601:606eada1bf86

8005820: Shark: enable JSR292 support Reviewed-by: twisti Contributed-by: Roman Kennke <rkennke@redhat.com>
author twisti
date Fri, 11 Jan 2013 16:47:23 -0800
parents e863062e521d
children 469216acdb28
comparison
equal deleted inserted replaced
7600:c095a7f289aa 7601:606eada1bf86
44 const char *name() { return "shark"; } 44 const char *name() { return "shark"; }
45 45
46 // Missing feature tests 46 // Missing feature tests
47 bool supports_native() { return true; } 47 bool supports_native() { return true; }
48 bool supports_osr() { return true; } 48 bool supports_osr() { return true; }
49 bool can_compile_method(methodHandle method) {
50 return ! (method->is_method_handle_intrinsic() || method->is_compiled_lambda_form());
51 }
49 52
50 // Customization 53 // Customization
51 bool needs_adapters() { return false; } 54 bool needs_adapters() { return false; }
52 bool needs_stubs() { return false; } 55 bool needs_stubs() { return false; }
53 56