Skip to content
Permalink
Browse files

8250738: C2Compiler::is_intrinsic_supported(methodHandle&, bool) shou…

…ldn't be virtual

Reviewed-by: xliu, kvn
  • Loading branch information
iignatev committed Jul 28, 2020
1 parent 99ae955 commit f4301530b47270efc5b690cf79fa055a1404d480
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/opto/c2compiler.hpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -65,7 +65,7 @@ class C2Compiler : public AbstractCompiler {

// Check if the compiler supports an intrinsic for 'method' given the
// the dispatch mode specified by the 'is_virtual' parameter.
virtual bool is_intrinsic_supported(const methodHandle& method, bool is_virtual);
bool is_intrinsic_supported(const methodHandle& method, bool is_virtual);

// Initial size of the code buffer (may be increased at runtime)
static int initial_code_buffer_size(int const_size = initial_const_capacity);

0 comments on commit f430153

Please sign in to comment.