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

Unified Diff: src/parser.h

Issue 1164073003: [es6] super.prop, eval and lazy functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Increment the preparse data version Created 5 years, 6 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/parser.h
diff --git a/src/parser.h b/src/parser.h
index 9080160c7590f21cce5a7ac3e619e86b60d383f0..3e35983e3689f45d8b3d62e05067f8a7c73b832b 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -215,7 +215,7 @@ class FunctionEntry BASE_EMBEDDED {
kLiteralCountIndex,
kPropertyCountIndex,
kLanguageModeIndex,
- kUsesSuperPropertyIndex,
+ kNeedsHomeObjectIndex,
kSize
};
@@ -232,7 +232,7 @@ class FunctionEntry BASE_EMBEDDED {
DCHECK(is_valid_language_mode(backing_[kLanguageModeIndex]));
return static_cast<LanguageMode>(backing_[kLanguageModeIndex]);
}
- bool uses_super_property() { return backing_[kUsesSuperPropertyIndex]; }
+ bool needs_home_object() { return backing_[kNeedsHomeObjectIndex]; }
bool is_valid() { return !backing_.is_empty(); }

Powered by Google App Engine
This is Rietveld 408576698