Mercurial > hg > graal-jvmci-8
diff src/cpu/zero/vm/cppInterpreter_zero.hpp @ 1256:c09ee209b65c
6926048: Improve Zero performance
Summary: Make Zero figure out result types in a similar way to C++ interpreter implementation.
Reviewed-by: kvn
Contributed-by: gbenson@redhat.com
author | kvn |
---|---|
date | Fri, 12 Feb 2010 10:34:11 -0800 |
parents | 354d3184f6b2 |
children | f9271ff9d324 |
line wrap: on
line diff
--- a/src/cpu/zero/vm/cppInterpreter_zero.hpp Fri Feb 12 08:54:13 2010 -0800 +++ b/src/cpu/zero/vm/cppInterpreter_zero.hpp Fri Feb 12 10:34:11 2010 -0800 @@ -1,6 +1,6 @@ /* * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. - * Copyright 2007, 2008 Red Hat, Inc. + * Copyright 2007, 2008, 2010 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -41,3 +41,7 @@ private: // Stack overflow checks static bool stack_overflow_imminent(JavaThread *thread); + + private: + // Fast result type determination + static BasicType result_type_of(methodOop method);