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

Unified Diff: src/deoptimizer.h

Issue 1086333002: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Just give up if null or undefined. Created 5 years, 8 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/bailout-reason.h ('k') | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index c0254875a834e178260b0bd3f9a45089562b2725..25e96f2b63be6a1983571cf62a82871ee150bc67 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -160,7 +160,8 @@ class OptimizedFunctionVisitor BASE_EMBEDDED {
V(kUnknownMap, "Unknown map") \
V(kValueMismatch, "value mismatch") \
V(kWrongInstanceType, "wrong instance type") \
- V(kWrongMap, "wrong map")
+ V(kWrongMap, "wrong map") \
+ V(kUndefinedOrNullInForIn, "null or undefined in for-in")
class Deoptimizer : public Malloced {
« no previous file with comments | « src/bailout-reason.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698