comparison src/share/vm/runtime/stubRoutines.cpp @ 1174:ddb7834449d0

6849984: Value methods for platform dependent math functions constant fold incorrectly Reviewed-by: kvn, twisti
author never
date Fri, 15 Jan 2010 11:53:33 -0800
parents f8236e79048a
children 6484c4ee11cb
comparison
equal deleted inserted replaced
1173:73b22f919c34 1174:ddb7834449d0
1 /* 1 /*
2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1997-2010 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
95 95
96 address StubRoutines::_checkcast_arraycopy = NULL; 96 address StubRoutines::_checkcast_arraycopy = NULL;
97 address StubRoutines::_unsafe_arraycopy = NULL; 97 address StubRoutines::_unsafe_arraycopy = NULL;
98 address StubRoutines::_generic_arraycopy = NULL; 98 address StubRoutines::_generic_arraycopy = NULL;
99 99
100 double (* StubRoutines::_intrinsic_log )(double) = NULL;
101 double (* StubRoutines::_intrinsic_log10 )(double) = NULL;
102 double (* StubRoutines::_intrinsic_exp )(double) = NULL;
103 double (* StubRoutines::_intrinsic_pow )(double, double) = NULL;
104 double (* StubRoutines::_intrinsic_sin )(double) = NULL;
105 double (* StubRoutines::_intrinsic_cos )(double) = NULL;
106 double (* StubRoutines::_intrinsic_tan )(double) = NULL;
107
100 // Initialization 108 // Initialization
101 // 109 //
102 // Note: to break cycle with universe initialization, stubs are generated in two phases. 110 // Note: to break cycle with universe initialization, stubs are generated in two phases.
103 // The first one generates stubs needed during universe init (e.g., _handle_must_compile_first_entry). 111 // The first one generates stubs needed during universe init (e.g., _handle_must_compile_first_entry).
104 // The second phase includes all other stubs (which may depend on universe being initialized.) 112 // The second phase includes all other stubs (which may depend on universe being initialized.)