< prev index next >

src/share/vm/c1/c1_CodeStubs.hpp

Print this page
rev 10545 : imported patch c1_CodeStubs
rev 10556 : imported patch update dates

*** 1,7 **** /* ! * Copyright (c) 1999, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1999, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 75,95 **** } #endif } }; ! ! define_array(CodeStubArray, CodeStub*) ! define_stack(_CodeStubList, CodeStubArray) ! ! class CodeStubList: public _CodeStubList { public: ! CodeStubList(): _CodeStubList() {} void append(CodeStub* stub) { if (!contains(stub)) { ! _CodeStubList::append(stub); } } }; class CounterOverflowStub: public CodeStub { --- 75,91 ---- } #endif } }; ! class CodeStubList: public GrowableArray<CodeStub*> { public: ! CodeStubList(): GrowableArray<CodeStub*>() {} void append(CodeStub* stub) { if (!contains(stub)) { ! GrowableArray<CodeStub*>::append(stub); } } }; class CounterOverflowStub: public CodeStub {
< prev index next >