comparison src/share/vm/opto/parse.hpp @ 2376:c7f3d0b4570f

7017732: move static fields into Class to prepare for perm gen removal Reviewed-by: kvn, coleenp, twisti, stefank
author never
date Fri, 18 Mar 2011 16:00:34 -0700
parents f95d63e2154a
children 0e3ed5a14f73
comparison
equal deleted inserted replaced
2375:d673ef06fe96 2376:c7f3d0b4570f
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. 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.
481 // common code for making initial checks and forming addresses 481 // common code for making initial checks and forming addresses
482 void do_field_access(bool is_get, bool is_field); 482 void do_field_access(bool is_get, bool is_field);
483 bool static_field_ok_in_clinit(ciField *field, ciMethod *method); 483 bool static_field_ok_in_clinit(ciField *field, ciMethod *method);
484 484
485 // common code for actually performing the load or store 485 // common code for actually performing the load or store
486 void do_get_xxx(const TypePtr* obj_type, Node* obj, ciField* field, bool is_field); 486 void do_get_xxx(Node* obj, ciField* field, bool is_field);
487 void do_put_xxx(const TypePtr* obj_type, Node* obj, ciField* field, bool is_field); 487 void do_put_xxx(Node* obj, ciField* field, bool is_field);
488 488
489 // loading from a constant field or the constant pool 489 // loading from a constant field or the constant pool
490 // returns false if push failed (non-perm field constants only, not ldcs) 490 // returns false if push failed (non-perm field constants only, not ldcs)
491 bool push_constant(ciConstant con, bool require_constant = false); 491 bool push_constant(ciConstant con, bool require_constant = false);
492 492