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

Unified Diff: src/compiler/types.h

Issue 2697063002: Fix typeof optimization for undetectable (Closed)
Patch Set: DetectableCallable TODO: renaming 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/compiler/typer.cc ('k') | test/mjsunit/regress/regress-5972.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/types.h
diff --git a/src/compiler/types.h b/src/compiler/types.h
index 3d53f8218cb6de33874bcf5c7d425088c9d80fb8..ae5d4e99aac6a3b084c2815cf10ea3367b56afef 100644
--- a/src/compiler/types.h
+++ b/src/compiler/types.h
@@ -164,8 +164,9 @@ namespace compiler {
V(Primitive, kSymbol | kPlainPrimitive) \
V(OtherUndetectableOrUndefined, kOtherUndetectable | kUndefined) \
V(Proxy, kCallableProxy | kOtherProxy) \
- V(Callable, kFunction | kBoundFunction | \
- kOtherCallable | kCallableProxy | \
+ V(DetectableCallable, kFunction | kBoundFunction | \
+ kOtherCallable | kCallableProxy) \
+ V(Callable, kDetectableCallable | \
Benedikt Meurer 2017/02/17 14:08:42 Can you fit this into one line?
vabr (Chromium) 2017/02/17 23:36:24 Done.
kOtherUndetectable) \
V(NonCallable, kOtherObject | kOtherProxy) \
V(NonCallableOrNull, kNonCallable | kNull) \
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/regress/regress-5972.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698