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

Unified Diff: src/ast-value-factory.h

Issue 422923004: Track usage of "this" and "arguments" in Scope (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 5 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 | « no previous file | src/preparser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-value-factory.h
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
index bb93d10cd25c2369a418d728c9c9e1ff56541668..4804896c1b6df7230e6a8bafbb7c0cb934cf7af6 100644
--- a/src/ast-value-factory.h
+++ b/src/ast-value-factory.h
@@ -88,6 +88,8 @@ class AstRawString : public AstString {
return *c;
}
+ bool IsArguments() const { return IsOneByteEqualTo("arguments"); }
marja 2014/08/11 08:51:39 This doesn't look correct. The AstStrings are uniq
+
// For storing AstRawStrings in a hash map.
uint32_t hash() const {
return hash_;
« no previous file with comments | « no previous file | src/preparser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698