Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: src/ast/ast-types.cc

Issue 2625073002: Revert of Internalize strings in-place (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/codegen-arm64.cc ('k') | src/builtins/builtins-object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <iomanip> 5 #include <iomanip>
6 6
7 #include "src/ast/ast-types.h" 7 #include "src/ast/ast-types.h"
8 8
9 #include "src/handles-inl.h" 9 #include "src/handles-inl.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 return kNone; 150 return kNone;
151 } 151 }
152 152
153 AstType::bitset AstBitsetType::Lub(i::Map* map) { 153 AstType::bitset AstBitsetType::Lub(i::Map* map) {
154 DisallowHeapAllocation no_allocation; 154 DisallowHeapAllocation no_allocation;
155 switch (map->instance_type()) { 155 switch (map->instance_type()) {
156 case STRING_TYPE: 156 case STRING_TYPE:
157 case ONE_BYTE_STRING_TYPE: 157 case ONE_BYTE_STRING_TYPE:
158 case CONS_STRING_TYPE: 158 case CONS_STRING_TYPE:
159 case CONS_ONE_BYTE_STRING_TYPE: 159 case CONS_ONE_BYTE_STRING_TYPE:
160 case THIN_STRING_TYPE:
161 case THIN_ONE_BYTE_STRING_TYPE:
162 case SLICED_STRING_TYPE: 160 case SLICED_STRING_TYPE:
163 case SLICED_ONE_BYTE_STRING_TYPE: 161 case SLICED_ONE_BYTE_STRING_TYPE:
164 case EXTERNAL_STRING_TYPE: 162 case EXTERNAL_STRING_TYPE:
165 case EXTERNAL_ONE_BYTE_STRING_TYPE: 163 case EXTERNAL_ONE_BYTE_STRING_TYPE:
166 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 164 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
167 case SHORT_EXTERNAL_STRING_TYPE: 165 case SHORT_EXTERNAL_STRING_TYPE:
168 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE: 166 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE:
169 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 167 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
170 return kOtherString; 168 return kOtherString;
171 case INTERNALIZED_STRING_TYPE: 169 case INTERNALIZED_STRING_TYPE:
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 #undef CONSTRUCT_SIMD_TYPE 1304 #undef CONSTRUCT_SIMD_TYPE
1307 1305
1308 // ----------------------------------------------------------------------------- 1306 // -----------------------------------------------------------------------------
1309 // Instantiations. 1307 // Instantiations.
1310 1308
1311 template class AstType::Iterator<i::Map>; 1309 template class AstType::Iterator<i::Map>;
1312 template class AstType::Iterator<i::Object>; 1310 template class AstType::Iterator<i::Object>;
1313 1311
1314 } // namespace internal 1312 } // namespace internal
1315 } // namespace v8 1313 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/codegen-arm64.cc ('k') | src/builtins/builtins-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698