equal
deleted
inserted
replaced
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 2009 Red Hat, Inc. |
3 * Copyright 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 |
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 |
25 |
26 #include "incls/_precompiled.incl" |
26 #include "precompiled.hpp" |
27 #include "incls/_sharkIntrinsics.cpp.incl" |
27 #include "ci/ciMethod.hpp" |
|
28 #include "shark/llvmHeaders.hpp" |
|
29 #include "shark/sharkIntrinsics.hpp" |
|
30 #include "shark/sharkState.hpp" |
|
31 #include "shark/sharkValue.hpp" |
|
32 #include "shark/shark_globals.hpp" |
28 |
33 |
29 using namespace llvm; |
34 using namespace llvm; |
30 |
35 |
31 bool SharkIntrinsics::is_intrinsic(ciMethod *target) { |
36 bool SharkIntrinsics::is_intrinsic(ciMethod *target) { |
32 switch (target->intrinsic_id()) { |
37 switch (target->intrinsic_id()) { |