Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
1255:e3a4305c6bc3 | 1256:c09ee209b65c |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. |
3 * Copyright 2007, 2008 Red Hat, Inc. | 3 * Copyright 2007, 2008, 2010 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 |
8 * published by the Free Software Foundation. | 8 * published by the Free Software Foundation. |
39 static void main_loop(int recurse, TRAPS); | 39 static void main_loop(int recurse, TRAPS); |
40 | 40 |
41 private: | 41 private: |
42 // Stack overflow checks | 42 // Stack overflow checks |
43 static bool stack_overflow_imminent(JavaThread *thread); | 43 static bool stack_overflow_imminent(JavaThread *thread); |
44 | |
45 private: | |
46 // Fast result type determination | |
47 static BasicType result_type_of(methodOop method); |