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

Side by Side Diff: src/ast.h

Issue 340005: In the toplevel compiler, shift the responsibility of assigning a... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 PROTOTYPE // Property is __proto__. 740 PROTOTYPE // Property is __proto__.
741 }; 741 };
742 742
743 Property(Literal* key, Expression* value); 743 Property(Literal* key, Expression* value);
744 Property(bool is_getter, FunctionLiteral* value); 744 Property(bool is_getter, FunctionLiteral* value);
745 745
746 Literal* key() { return key_; } 746 Literal* key() { return key_; }
747 Expression* value() { return value_; } 747 Expression* value() { return value_; }
748 Kind kind() { return kind_; } 748 Kind kind() { return kind_; }
749 749
750 bool IsCompileTimeValue();
751
750 private: 752 private:
751 Literal* key_; 753 Literal* key_;
752 Expression* value_; 754 Expression* value_;
753 Kind kind_; 755 Kind kind_;
754 }; 756 };
755 757
756 ObjectLiteral(Handle<FixedArray> constant_properties, 758 ObjectLiteral(Handle<FixedArray> constant_properties,
757 ZoneList<Property*>* properties, 759 ZoneList<Property*>* properties,
758 int literal_index, 760 int literal_index,
759 bool is_simple, 761 bool is_simple,
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 #undef DEF_VISIT 1762 #undef DEF_VISIT
1761 1763
1762 private: 1764 private:
1763 bool stack_overflow_; 1765 bool stack_overflow_;
1764 }; 1766 };
1765 1767
1766 1768
1767 } } // namespace v8::internal 1769 } } // namespace v8::internal
1768 1770
1769 #endif // V8_AST_H_ 1771 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm/fast-codegen-arm.cc ('k') | src/ast.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698