Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciObjectFactory.cpp @ 1080:7c57aead6d3e
6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Thu, 12 Nov 2009 09:24:21 -0800 |
parents | a1423fe86a18 |
children | 97125851f396 |
comparison
equal
deleted
inserted
replaced
1078:8e7adf982378 | 1080:7c57aead6d3e |
---|---|
165 ciEnv::_OutOfMemoryError = | 165 ciEnv::_OutOfMemoryError = |
166 get(SystemDictionary::OutOfMemoryError_klass()) | 166 get(SystemDictionary::OutOfMemoryError_klass()) |
167 ->as_instance_klass(); | 167 ->as_instance_klass(); |
168 ciEnv::_String = | 168 ciEnv::_String = |
169 get(SystemDictionary::string_klass()) | 169 get(SystemDictionary::string_klass()) |
170 ->as_instance_klass(); | |
171 ciEnv::_StringBuffer = | |
172 get(SystemDictionary::stringBuffer_klass()) | |
173 ->as_instance_klass(); | |
174 ciEnv::_StringBuilder = | |
175 get(SystemDictionary::StringBuilder_klass()) | |
176 ->as_instance_klass(); | |
177 ciEnv::_Integer = | |
178 get(SystemDictionary::int_klass()) | |
170 ->as_instance_klass(); | 179 ->as_instance_klass(); |
171 | 180 |
172 for (int len = -1; len != _ci_objects->length(); ) { | 181 for (int len = -1; len != _ci_objects->length(); ) { |
173 len = _ci_objects->length(); | 182 len = _ci_objects->length(); |
174 for (int i2 = 0; i2 < len; i2++) { | 183 for (int i2 = 0; i2 < len; i2++) { |