Skip to content

Commit b3a2269

Browse files
kvakilNo9
authored andcommitted
src: remove class_Map__instance_attributes__int
This is not present in any release lines.
1 parent 04cedbb commit b3a2269

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/llv8-constants.cc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,8 @@ void HeapObject::Load() {
8181

8282
void Map::Load() {
8383
Error err;
84-
kInstanceAttrsOffset = LoadConstant({"class_Map__instance_attributes__int",
85-
"class_Map__instance_type__uint16_t"});
86-
if (kInstanceAttrsOffset.name() ==
87-
"v8dbg_class_Map__instance_type__uint16_t") {
88-
kMapTypeMask = 0xffff;
89-
} else {
90-
kMapTypeMask = 0xff;
91-
}
84+
kInstanceAttrsOffset = LoadConstant({"class_Map__instance_type__uint16_t"});
85+
kMapTypeMask = 0xffff;
9286

9387
kMaybeConstructorOffset =
9488
LoadConstant("class_Map__constructor_or_backpointer__Object",

0 commit comments

Comments
 (0)