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

Side by Side Diff: src/parser.h

Issue 8139027: Version 3.6.5 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »
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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 Expression* ParseMemberExpression(bool* ok); 526 Expression* ParseMemberExpression(bool* ok);
527 Expression* ParseNewPrefix(PositionStack* stack, bool* ok); 527 Expression* ParseNewPrefix(PositionStack* stack, bool* ok);
528 Expression* ParseMemberWithNewPrefixesExpression(PositionStack* stack, 528 Expression* ParseMemberWithNewPrefixesExpression(PositionStack* stack,
529 bool* ok); 529 bool* ok);
530 Expression* ParsePrimaryExpression(bool* ok); 530 Expression* ParsePrimaryExpression(bool* ok);
531 Expression* ParseArrayLiteral(bool* ok); 531 Expression* ParseArrayLiteral(bool* ok);
532 Expression* ParseObjectLiteral(bool* ok); 532 Expression* ParseObjectLiteral(bool* ok);
533 ObjectLiteral::Property* ParseObjectLiteralGetSet(bool is_getter, bool* ok); 533 ObjectLiteral::Property* ParseObjectLiteralGetSet(bool is_getter, bool* ok);
534 Expression* ParseRegExpLiteral(bool seen_equal, bool* ok); 534 Expression* ParseRegExpLiteral(bool seen_equal, bool* ok);
535 535
536 Expression* NewCompareNode(Token::Value op,
537 Expression* x,
538 Expression* y,
539 int position);
540
541 // Populate the constant properties fixed array for a materialized object 536 // Populate the constant properties fixed array for a materialized object
542 // literal. 537 // literal.
543 void BuildObjectLiteralConstantProperties( 538 void BuildObjectLiteralConstantProperties(
544 ZoneList<ObjectLiteral::Property*>* properties, 539 ZoneList<ObjectLiteral::Property*>* properties,
545 Handle<FixedArray> constants, 540 Handle<FixedArray> constants,
546 bool* is_simple, 541 bool* is_simple,
547 bool* fast_elements, 542 bool* fast_elements,
548 int* depth); 543 int* depth);
549 544
550 // Populate the literals fixed array for a materialized array literal. 545 // Populate the literals fixed array for a materialized array literal.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 private: 763 private:
769 static const int kTypeSlot = 0; 764 static const int kTypeSlot = 0;
770 static const int kElementsSlot = 1; 765 static const int kElementsSlot = 1;
771 766
772 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 767 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
773 }; 768 };
774 769
775 } } // namespace v8::internal 770 } } // namespace v8::internal
776 771
777 #endif // V8_PARSER_H_ 772 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698