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

Side by Side Diff: src/parser.h

Issue 8551006: Version 3.7.9. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: 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 | « src/objects-inl.h ('k') | src/profile-generator.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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 674
675 bool TargetStackContainsLabel(Handle<String> label); 675 bool TargetStackContainsLabel(Handle<String> label);
676 BreakableStatement* LookupBreakTarget(Handle<String> label, bool* ok); 676 BreakableStatement* LookupBreakTarget(Handle<String> label, bool* ok);
677 IterationStatement* LookupContinueTarget(Handle<String> label, bool* ok); 677 IterationStatement* LookupContinueTarget(Handle<String> label, bool* ok);
678 678
679 void RegisterTargetUse(Label* target, Target* stop); 679 void RegisterTargetUse(Label* target, Target* stop);
680 680
681 // Factory methods. 681 // Factory methods.
682 682
683 Statement* EmptyStatement() { 683 Statement* EmptyStatement() {
684 static v8::internal::EmptyStatement empty; 684 static v8::internal::EmptyStatement* empty =
685 return &empty; 685 ::new v8::internal::EmptyStatement();
686 return empty;
686 } 687 }
687 688
688 Scope* NewScope(Scope* parent, ScopeType type); 689 Scope* NewScope(Scope* parent, ScopeType type);
689 690
690 Handle<String> LookupSymbol(int symbol_id); 691 Handle<String> LookupSymbol(int symbol_id);
691 692
692 Handle<String> LookupCachedSymbol(int symbol_id); 693 Handle<String> LookupCachedSymbol(int symbol_id);
693 694
694 Expression* NewCall(Expression* expression, 695 Expression* NewCall(Expression* expression,
695 ZoneList<Expression*>* arguments, 696 ZoneList<Expression*>* arguments,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 private: 778 private:
778 static const int kTypeSlot = 0; 779 static const int kTypeSlot = 0;
779 static const int kElementsSlot = 1; 780 static const int kElementsSlot = 1;
780 781
781 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 782 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
782 }; 783 };
783 784
784 } } // namespace v8::internal 785 } } // namespace v8::internal
785 786
786 #endif // V8_PARSER_H_ 787 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698