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

Side by Side Diff: src/hydrogen.h

Issue 9348057: Split AST Declaration class, in preparation for new module declaration forms. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Jakob's comments. Created 8 years, 10 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/full-codegen.cc ('k') | src/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 } 808 }
809 809
810 // Generators for inline runtime functions. 810 // Generators for inline runtime functions.
811 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ 811 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
812 void Generate##Name(CallRuntime* call); 812 void Generate##Name(CallRuntime* call);
813 813
814 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 814 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
815 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 815 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
816 #undef INLINE_FUNCTION_GENERATOR_DECLARATION 816 #undef INLINE_FUNCTION_GENERATOR_DECLARATION
817 817
818 void HandleDeclaration(VariableProxy* proxy, 818 void HandleVariableDeclaration(VariableProxy* proxy,
819 VariableMode mode, 819 VariableMode mode,
820 FunctionLiteral* function); 820 FunctionLiteral* function);
821 821
822 void VisitDelete(UnaryOperation* expr); 822 void VisitDelete(UnaryOperation* expr);
823 void VisitVoid(UnaryOperation* expr); 823 void VisitVoid(UnaryOperation* expr);
824 void VisitTypeof(UnaryOperation* expr); 824 void VisitTypeof(UnaryOperation* expr);
825 void VisitAdd(UnaryOperation* expr); 825 void VisitAdd(UnaryOperation* expr);
826 void VisitSub(UnaryOperation* expr); 826 void VisitSub(UnaryOperation* expr);
827 void VisitBitNot(UnaryOperation* expr); 827 void VisitBitNot(UnaryOperation* expr);
828 void VisitNot(UnaryOperation* expr); 828 void VisitNot(UnaryOperation* expr);
829 829
830 void VisitComma(BinaryOperation* expr); 830 void VisitComma(BinaryOperation* expr);
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 const char* filename_; 1276 const char* filename_;
1277 HeapStringAllocator string_allocator_; 1277 HeapStringAllocator string_allocator_;
1278 StringStream trace_; 1278 StringStream trace_;
1279 int indent_; 1279 int indent_;
1280 }; 1280 };
1281 1281
1282 1282
1283 } } // namespace v8::internal 1283 } } // namespace v8::internal
1284 1284
1285 #endif // V8_HYDROGEN_H_ 1285 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698