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

Side by Side Diff: src/deoptimizer.cc

Issue 2964943002: [wasm] Introduce instance types for WebAssembly.* objects. (Closed)
Patch Set: Address rossberg comments. Created 3 years, 5 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/heap/heap.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/assembler-inl.h" 10 #include "src/assembler-inl.h"
(...skipping 3965 matching lines...) Expand 10 before | Expand all | Expand 10 after
3976 case SMALL_ORDERED_HASH_MAP_TYPE: 3976 case SMALL_ORDERED_HASH_MAP_TYPE:
3977 case SMALL_ORDERED_HASH_SET_TYPE: 3977 case SMALL_ORDERED_HASH_SET_TYPE:
3978 case PROTOTYPE_INFO_TYPE: 3978 case PROTOTYPE_INFO_TYPE:
3979 case TUPLE2_TYPE: 3979 case TUPLE2_TYPE:
3980 case TUPLE3_TYPE: 3980 case TUPLE3_TYPE:
3981 case ASYNC_GENERATOR_REQUEST_TYPE: 3981 case ASYNC_GENERATOR_REQUEST_TYPE:
3982 case PREPARSED_SCOPE_DATA_TYPE: 3982 case PREPARSED_SCOPE_DATA_TYPE:
3983 case PADDING_TYPE_1: 3983 case PADDING_TYPE_1:
3984 case PADDING_TYPE_2: 3984 case PADDING_TYPE_2:
3985 case PADDING_TYPE_3: 3985 case PADDING_TYPE_3:
3986 case WASM_MODULE_TYPE:
3987 case WASM_INSTANCE_TYPE:
3988 case WASM_MEMORY_TYPE:
3989 case WASM_TABLE_TYPE:
3986 OFStream os(stderr); 3990 OFStream os(stderr);
3987 os << "[couldn't handle instance type " << map->instance_type() << "]" 3991 os << "[couldn't handle instance type " << map->instance_type() << "]"
3988 << std::endl; 3992 << std::endl;
3989 UNREACHABLE(); 3993 UNREACHABLE();
3990 break; 3994 break;
3991 } 3995 }
3992 UNREACHABLE(); 3996 UNREACHABLE();
3993 } 3997 }
3994 3998
3995 Handle<Object> TranslatedState::MaterializeAt(int frame_index, 3999 Handle<Object> TranslatedState::MaterializeAt(int frame_index,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
4154 CHECK(value_info->IsMaterializedObject()); 4158 CHECK(value_info->IsMaterializedObject());
4155 4159
4156 value_info->value_ = 4160 value_info->value_ =
4157 Handle<Object>(previously_materialized_objects->get(i), isolate_); 4161 Handle<Object>(previously_materialized_objects->get(i), isolate_);
4158 } 4162 }
4159 } 4163 }
4160 } 4164 }
4161 4165
4162 } // namespace internal 4166 } // namespace internal
4163 } // namespace v8 4167 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/types.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698