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

Unified Diff: src/isolate.cc

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: REBASE 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
« no previous file with comments | « src/isolate.h ('k') | src/isolate-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index e01456719d810a47815cde2fd2e4ec35f2c47b61..38a26be1e29a70450d6d08460fbe0e7473b25244 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -3073,15 +3073,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());
« no previous file with comments | « src/isolate.h ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698