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

Side by Side Diff: src/ast.h

Issue 6814012: Strict mode fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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 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 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 ZoneList<Statement*>* body_; 1778 ZoneList<Statement*>* body_;
1779 int materialized_literal_count_; 1779 int materialized_literal_count_;
1780 int expected_property_count_; 1780 int expected_property_count_;
1781 bool has_only_simple_this_property_assignments_; 1781 bool has_only_simple_this_property_assignments_;
1782 Handle<FixedArray> this_property_assignments_; 1782 Handle<FixedArray> this_property_assignments_;
1783 int num_parameters_; 1783 int num_parameters_;
1784 int start_position_; 1784 int start_position_;
1785 int end_position_; 1785 int end_position_;
1786 bool is_expression_; 1786 bool is_expression_;
1787 bool contains_loops_; 1787 bool contains_loops_;
1788 bool strict_mode_;
Martin Maly 2011/04/07 10:07:07 Unused :( I moved it to scope and didn't remove fr
1789 int function_token_position_; 1788 int function_token_position_;
1790 Handle<String> inferred_name_; 1789 Handle<String> inferred_name_;
1791 bool pretenure_; 1790 bool pretenure_;
1792 }; 1791 };
1793 1792
1794 1793
1795 class SharedFunctionInfoLiteral: public Expression { 1794 class SharedFunctionInfoLiteral: public Expression {
1796 public: 1795 public:
1797 explicit SharedFunctionInfoLiteral( 1796 explicit SharedFunctionInfoLiteral(
1798 Handle<SharedFunctionInfo> shared_function_info) 1797 Handle<SharedFunctionInfo> shared_function_info)
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
2209 2208
2210 private: 2209 private:
2211 Isolate* isolate_; 2210 Isolate* isolate_;
2212 bool stack_overflow_; 2211 bool stack_overflow_;
2213 }; 2212 };
2214 2213
2215 2214
2216 } } // namespace v8::internal 2215 } } // namespace v8::internal
2217 2216
2218 #endif // V8_AST_H_ 2217 #endif // V8_AST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698