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

Side by Side Diff: src/deoptimizer.cc

Issue 2549773002: Internalize strings in-place (Closed)
Patch Set: rebased 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/compiler/types.cc ('k') | src/elements.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "src/deoptimizer.h" 5 #include "src/deoptimizer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "src/accessors.h" 9 #include "src/accessors.h"
10 #include "src/ast/prettyprinter.h" 10 #include "src/ast/prettyprinter.h"
(...skipping 3835 matching lines...) Expand 10 before | Expand all | Expand 10 after
3846 case ONE_BYTE_STRING_TYPE: 3846 case ONE_BYTE_STRING_TYPE:
3847 case CONS_ONE_BYTE_STRING_TYPE: 3847 case CONS_ONE_BYTE_STRING_TYPE:
3848 case SLICED_STRING_TYPE: 3848 case SLICED_STRING_TYPE:
3849 case SLICED_ONE_BYTE_STRING_TYPE: 3849 case SLICED_ONE_BYTE_STRING_TYPE:
3850 case EXTERNAL_STRING_TYPE: 3850 case EXTERNAL_STRING_TYPE:
3851 case EXTERNAL_ONE_BYTE_STRING_TYPE: 3851 case EXTERNAL_ONE_BYTE_STRING_TYPE:
3852 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 3852 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
3853 case SHORT_EXTERNAL_STRING_TYPE: 3853 case SHORT_EXTERNAL_STRING_TYPE:
3854 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE: 3854 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE:
3855 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: 3855 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE:
3856 case THIN_STRING_TYPE:
3857 case THIN_ONE_BYTE_STRING_TYPE:
3856 case INTERNALIZED_STRING_TYPE: 3858 case INTERNALIZED_STRING_TYPE:
3857 case ONE_BYTE_INTERNALIZED_STRING_TYPE: 3859 case ONE_BYTE_INTERNALIZED_STRING_TYPE:
3858 case EXTERNAL_INTERNALIZED_STRING_TYPE: 3860 case EXTERNAL_INTERNALIZED_STRING_TYPE:
3859 case EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE: 3861 case EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE:
3860 case EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE: 3862 case EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE:
3861 case SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE: 3863 case SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE:
3862 case SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE: 3864 case SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE:
3863 case SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE: 3865 case SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE:
3864 case SYMBOL_TYPE: 3866 case SYMBOL_TYPE:
3865 case ODDBALL_TYPE: 3867 case ODDBALL_TYPE:
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
4164 CHECK(value_info->IsMaterializedObject()); 4166 CHECK(value_info->IsMaterializedObject());
4165 4167
4166 value_info->value_ = 4168 value_info->value_ =
4167 Handle<Object>(previously_materialized_objects->get(i), isolate_); 4169 Handle<Object>(previously_materialized_objects->get(i), isolate_);
4168 } 4170 }
4169 } 4171 }
4170 } 4172 }
4171 4173
4172 } // namespace internal 4174 } // namespace internal
4173 } // namespace v8 4175 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/types.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698