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

Unified Diff: src/isolate-inl.h

Issue 2658573008: Convert the array iterator protector to a PropertyCell. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate-inl.h
diff --git a/src/isolate-inl.h b/src/isolate-inl.h
index fc88676823d8ab8875a657e3dae0bfd710072e6d..fe4f92080db1bad052f6fbafd5a584e1a49e37a2 100644
--- a/src/isolate-inl.h
+++ b/src/isolate-inl.h
@@ -139,22 +139,22 @@ bool Isolate::IsHasInstanceLookupChainIntact() {
}
bool Isolate::IsStringLengthOverflowIntact() {
- PropertyCell* has_instance_cell = heap()->string_length_protector();
- return has_instance_cell->value() == Smi::FromInt(kProtectorValid);
+ PropertyCell* string_length_cell = heap()->string_length_protector();
+ return string_length_cell->value() == Smi::FromInt(kProtectorValid);
}
bool Isolate::IsFastArrayIterationIntact() {
- Cell* fast_iteration = heap()->fast_array_iteration_protector();
- return fast_iteration->value() == Smi::FromInt(kProtectorValid);
+ Cell* fast_iteration_cell = heap()->fast_array_iteration_protector();
+ return fast_iteration_cell->value() == Smi::FromInt(kProtectorValid);
}
bool Isolate::IsArrayBufferNeuteringIntact() {
- PropertyCell* fast_iteration = heap()->array_buffer_neutering_protector();
- return fast_iteration->value() == Smi::FromInt(kProtectorValid);
+ PropertyCell* buffer_neutering = heap()->array_buffer_neutering_protector();
+ return buffer_neutering->value() == Smi::FromInt(kProtectorValid);
}
bool Isolate::IsArrayIteratorLookupChainIntact() {
- Cell* array_iterator_cell = heap()->array_iterator_protector();
+ PropertyCell* array_iterator_cell = heap()->array_iterator_protector();
return array_iterator_cell->value() == Smi::FromInt(kProtectorValid);
}
« no previous file with comments | « src/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698