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

Unified Diff: arguments/src/variables.h

Issue 6665067: [Arguments] Remove synthetic properties and all code dealing with them. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental
Patch Set: Created 9 years, 9 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: arguments/src/variables.h
diff --git a/arguments/src/variables.h b/arguments/src/variables.h
index 6cfc4a5d648d77e07a3dfff2a67b44ccd91a586e..e1660c8ea758fc51c3289092dcd5b2775b7ad377 100644
--- a/arguments/src/variables.h
+++ b/arguments/src/variables.h
@@ -1,4 +1,4 @@
-// Copyright 2006-2008 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -121,8 +121,7 @@ class Variable: public ZoneObject {
// Printing support
static const char* Mode2String(Mode mode);
- // Type testing & conversion
- Property* AsProperty() const;
+ // Type testing & conversion. Global variables are not slots.
Slot* AsSlot() const;
bool IsValidLeftHandSide() { return is_valid_LHS_; }
@@ -179,7 +178,7 @@ class Variable: public ZoneObject {
}
Slot* rewrite() const { return rewrite_; }
- void set_rewrite(Slot* expr) { rewrite_ = expr; }
+ void set_rewrite(Slot* slot) { rewrite_ = slot; }
StaticType* type() { return &type_; }

Powered by Google App Engine
This is Rietveld 408576698