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

Unified Diff: src/lookup.h

Issue 1980483003: [es6] Reintroduce the instanceof operator in the backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Igors comments. Created 4 years, 7 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-inl.h ('k') | src/lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.h
diff --git a/src/lookup.h b/src/lookup.h
index 94a3f2c017b2c55592a9c4a1690ff9c604d8f1c1..bb65639165ad23324f5cee1668d689c72eb860c8 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -263,7 +263,9 @@ class LookupIterator final BASE_EMBEDDED {
if (IsElement()) return;
if (*name_ == heap()->is_concat_spreadable_symbol() ||
(FLAG_harmony_species && (*name_ == heap()->constructor_string() ||
- *name_ == heap()->species_symbol()))) {
+ *name_ == heap()->species_symbol())) ||
+ (FLAG_harmony_instanceof &&
+ (*name_ == heap()->has_instance_symbol()))) {
InternalUpdateProtector();
}
}
« no previous file with comments | « src/isolate-inl.h ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698