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

Unified Diff: src/isolate.cc

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: Created 3 years, 10 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
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 660a3582f0a5654ed30daabb04212fb4a2cc13e7..f1f961c65be36f705512dbfd84a2a879d0887211 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -3067,15 +3067,6 @@ void Isolate::UpdateArrayProtectorOnSetElement(Handle<JSObject> object) {
handle(Smi::FromInt(kProtectorInvalid), this));
}
-void Isolate::InvalidateHasInstanceProtector() {
- DCHECK(factory()->has_instance_protector()->value()->IsSmi());
- DCHECK(IsHasInstanceLookupChainIntact());
- PropertyCell::SetValueWithInvalidation(
- factory()->has_instance_protector(),
- handle(Smi::FromInt(kProtectorInvalid), this));
- DCHECK(!IsHasInstanceLookupChainIntact());
-}
-
void Isolate::InvalidateIsConcatSpreadableProtector() {
DCHECK(factory()->is_concat_spreadable_protector()->value()->IsSmi());
DCHECK(IsIsConcatSpreadableLookupChainIntact());
« src/builtins/builtins.h ('K') | « src/isolate.h ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698