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

Side by Side Diff: src/ast.h

Issue 8585001: Adapt source position recording and fix ScopeIterator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Statement positions for return sequences. 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
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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 Variable* var_; // resolved variable, or NULL 1161 Variable* var_; // resolved variable, or NULL
1162 bool is_this_; 1162 bool is_this_;
1163 bool is_trivial_; 1163 bool is_trivial_;
1164 int position_; 1164 int position_;
1165 1165
1166 VariableProxy(Isolate* isolate, 1166 VariableProxy(Isolate* isolate,
1167 Handle<String> name, 1167 Handle<String> name,
1168 bool is_this, 1168 bool is_this,
1169 int position = RelocInfo::kNoPosition); 1169 int position = RelocInfo::kNoPosition);
1170 1170
1171 friend class Rewriter;
1171 friend class Scope; 1172 friend class Scope;
1172 }; 1173 };
1173 1174
1174 1175
1175 class Property: public Expression { 1176 class Property: public Expression {
1176 public: 1177 public:
1177 Property(Isolate* isolate, 1178 Property(Isolate* isolate,
1178 Expression* obj, 1179 Expression* obj,
1179 Expression* key, 1180 Expression* key,
1180 int pos) 1181 int pos)
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 2168
2168 private: 2169 private:
2169 Isolate* isolate_; 2170 Isolate* isolate_;
2170 bool stack_overflow_; 2171 bool stack_overflow_;
2171 }; 2172 };
2172 2173
2173 2174
2174 } } // namespace v8::internal 2175 } } // namespace v8::internal
2175 2176
2176 #endif // V8_AST_H_ 2177 #endif // V8_AST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698