comparison src/share/vm/opto/stringopts.hpp @ 6057:8f972594effc

6924259: Remove String.count/String.offset Summary: Allow a version of String class that doesn't have count and offset fields. Reviewed-by: never, coleenp
author kvn
date Mon, 14 May 2012 09:36:00 -0700
parents f95d63e2154a
children
comparison
equal deleted inserted replaced
6054:56d1af561395 6057:8f972594effc
1 /* 1 /*
2 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2012, 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.
39 // List of dead nodes to clean up aggressively at the end 39 // List of dead nodes to clean up aggressively at the end
40 Unique_Node_List dead_worklist; 40 Unique_Node_List dead_worklist;
41 41
42 // Memory slices needed for code gen 42 // Memory slices needed for code gen
43 int char_adr_idx; 43 int char_adr_idx;
44 int value_field_idx;
45 int count_field_idx;
46 int offset_field_idx;
47 44
48 // Integer.sizeTable - used for int to String conversion 45 // Integer.sizeTable - used for int to String conversion
49 ciField* size_table_field; 46 ciField* size_table_field;
50 47
51 // A set for use by various stages 48 // A set for use by various stages