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

Unified Diff: src/ast/variables.h

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years, 1 month 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/ast/scopes.cc ('k') | src/ast/variables.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/variables.h
diff --git a/src/ast/variables.h b/src/ast/variables.h
index 4057d2b5f629b809a67302ec8e946ac6ec714b52..ad6b9bdbe7a646263f9872762c94ce7169d28090 100644
--- a/src/ast/variables.h
+++ b/src/ast/variables.h
@@ -18,7 +18,7 @@ namespace internal {
class ClassVariable;
-class Variable: public ZoneObject {
+class Variable : public ZoneObject {
public:
enum Kind { NORMAL, FUNCTION, CLASS, THIS, ARGUMENTS };
@@ -43,9 +43,7 @@ class Variable: public ZoneObject {
bool has_forced_context_allocation() const {
return force_context_allocation_;
}
- void ForceContextAllocation() {
- force_context_allocation_ = true;
- }
+ void ForceContextAllocation() { force_context_allocation_ = true; }
bool is_used() { return is_used_; }
void set_is_used() { is_used_ = true; }
MaybeAssignedFlag maybe_assigned() const { return maybe_assigned_; }
« no previous file with comments | « src/ast/scopes.cc ('k') | src/ast/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698