Commit 90734ca1 authored by ishell@chromium.org's avatar ishell@chromium.org

GCMole issues fixes (part 2).

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/927153002

Cr-Commit-Position: refs/heads/master@{#26674}
parent 663a9eea
......@@ -572,9 +572,10 @@ static void TestGeneralizeRepresentation(Representation from_representation,
CHECK(!active_map->is_deprecated());
// Update all deprecated maps and check that they are now the same.
CHECK_EQ(*active_map, *Map::Update(map));
Handle<Map> updated_map = Map::Update(map);
CHECK_EQ(*active_map, *updated_map);
for (int i = 0; i < kPropCount; i++) {
Handle<Map> updated_map = Map::Update(maps[i]);
updated_map = Map::Update(maps[i]);
CHECK_EQ(*active_map, *updated_map);
}
}
......@@ -835,9 +836,10 @@ TEST(GeneralizeRepresentationWithAccessorProperties) {
CHECK(!active_map->is_deprecated());
// Update all deprecated maps and check that they are now the same.
CHECK_EQ(*active_map, *Map::Update(map));
Handle<Map> updated_map = Map::Update(map);
CHECK_EQ(*active_map, *updated_map);
for (int i = 0; i < kPropCount; i++) {
Handle<Map> updated_map = Map::Update(maps[i]);
updated_map = Map::Update(maps[i]);
CHECK_EQ(*active_map, *updated_map);
}
}
......@@ -1556,9 +1558,10 @@ static void TestGeneralizeRepresentationWithSpecialTransition(
CHECK(!active_map->is_deprecated());
// Update all deprecated maps and check that they are now the same.
CHECK_EQ(*active_map, *Map::Update(map));
Handle<Map> updated_map = Map::Update(map);
CHECK_EQ(*active_map, *updated_map);
for (int i = 0; i < kPropCount; i++) {
Handle<Map> updated_map = Map::Update(maps[i]);
updated_map = Map::Update(maps[i]);
CHECK_EQ(*active_map, *updated_map);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment