src/share/vm/shark/sharkCompiler.hpp

changeset 2314
f95d63e2154a
parent 2200
a222fcfba398
child 2729
e863062e521d
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2008, 2009 Red Hat, Inc. 3 * Copyright 2008, 2009 Red Hat, Inc.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * 5 *
6 * This code is free software; you can redistribute it and/or modify it 6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as 7 * under the terms of the GNU General Public License version 2 only, as
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any 21 * or visit www.oracle.com if you need additional information or have any
22 * questions. 22 * questions.
23 * 23 *
24 */ 24 */
25
26 #ifndef SHARE_VM_SHARK_SHARKCOMPILER_HPP
27 #define SHARE_VM_SHARK_SHARKCOMPILER_HPP
28
29 #include "ci/ciEnv.hpp"
30 #include "ci/ciMethod.hpp"
31 #include "compiler/abstractCompiler.hpp"
32 #include "compiler/compileBroker.hpp"
33 #include "shark/llvmHeaders.hpp"
34 #include "shark/sharkMemoryManager.hpp"
25 35
26 class SharkContext; 36 class SharkContext;
27 37
28 class SharkCompiler : public AbstractCompiler { 38 class SharkCompiler : public AbstractCompiler {
29 public: 39 public:
114 void generate_native_code(SharkEntry* entry, 124 void generate_native_code(SharkEntry* entry,
115 llvm::Function* function, 125 llvm::Function* function,
116 const char* name); 126 const char* name);
117 void free_queued_methods(); 127 void free_queued_methods();
118 }; 128 };
129
130 #endif // SHARE_VM_SHARK_SHARKCOMPILER_HPP

mercurial