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

Side by Side Diff: src/ast.h

Issue 8590027: Fix the ScopeIterator reimplemantation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ScopeIterator fix and test cases. Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | src/compiler.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 Variable* var_; // resolved variable, or NULL 1169 Variable* var_; // resolved variable, or NULL
1170 bool is_this_; 1170 bool is_this_;
1171 bool is_trivial_; 1171 bool is_trivial_;
1172 int position_; 1172 int position_;
1173 1173
1174 VariableProxy(Isolate* isolate, 1174 VariableProxy(Isolate* isolate,
1175 Handle<String> name, 1175 Handle<String> name,
1176 bool is_this, 1176 bool is_this,
1177 int position = RelocInfo::kNoPosition); 1177 int position = RelocInfo::kNoPosition);
1178 1178
1179 friend class Rewriter;
1179 friend class Scope; 1180 friend class Scope;
1180 }; 1181 };
1181 1182
1182 1183
1183 class Property: public Expression { 1184 class Property: public Expression {
1184 public: 1185 public:
1185 Property(Isolate* isolate, 1186 Property(Isolate* isolate,
1186 Expression* obj, 1187 Expression* obj,
1187 Expression* key, 1188 Expression* key,
1188 int pos) 1189 int pos)
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
2176 2177
2177 private: 2178 private:
2178 Isolate* isolate_; 2179 Isolate* isolate_;
2179 bool stack_overflow_; 2180 bool stack_overflow_;
2180 }; 2181 };
2181 2182
2182 2183
2183 } } // namespace v8::internal 2184 } } // namespace v8::internal
2184 2185
2185 #endif // V8_AST_H_ 2186 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698