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

Side by Side Diff: src/hydrogen.h

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 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
« no previous file with comments | « src/heap-profiler.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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 } 906 }
907 907
908 // Generators for inline runtime functions. 908 // Generators for inline runtime functions.
909 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ 909 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
910 void Generate##Name(CallRuntime* call); 910 void Generate##Name(CallRuntime* call);
911 911
912 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 912 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
913 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) 913 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION)
914 #undef INLINE_FUNCTION_GENERATOR_DECLARATION 914 #undef INLINE_FUNCTION_GENERATOR_DECLARATION
915 915
916 void HandleDeclaration(VariableProxy* proxy,
917 VariableMode mode,
918 FunctionLiteral* function,
919 int* global_count);
920
921 void VisitDelete(UnaryOperation* expr); 916 void VisitDelete(UnaryOperation* expr);
922 void VisitVoid(UnaryOperation* expr); 917 void VisitVoid(UnaryOperation* expr);
923 void VisitTypeof(UnaryOperation* expr); 918 void VisitTypeof(UnaryOperation* expr);
924 void VisitAdd(UnaryOperation* expr); 919 void VisitAdd(UnaryOperation* expr);
925 void VisitSub(UnaryOperation* expr); 920 void VisitSub(UnaryOperation* expr);
926 void VisitBitNot(UnaryOperation* expr); 921 void VisitBitNot(UnaryOperation* expr);
927 void VisitNot(UnaryOperation* expr); 922 void VisitNot(UnaryOperation* expr);
928 923
929 void VisitComma(BinaryOperation* expr); 924 void VisitComma(BinaryOperation* expr);
930 void VisitLogicalExpression(BinaryOperation* expr); 925 void VisitLogicalExpression(BinaryOperation* expr);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 // visiting statements. 1155 // visiting statements.
1161 AstContext* ast_context_; 1156 AstContext* ast_context_;
1162 1157
1163 // A stack of breakable statements entered. 1158 // A stack of breakable statements entered.
1164 BreakAndContinueScope* break_scope_; 1159 BreakAndContinueScope* break_scope_;
1165 1160
1166 HGraph* graph_; 1161 HGraph* graph_;
1167 HBasicBlock* current_block_; 1162 HBasicBlock* current_block_;
1168 1163
1169 int inlined_count_; 1164 int inlined_count_;
1165 ZoneList<Handle<Object> > globals_;
1170 1166
1171 Zone* zone_; 1167 Zone* zone_;
1172 1168
1173 bool inline_bailout_; 1169 bool inline_bailout_;
1174 1170
1175 friend class FunctionState; // Pushes and pops the state stack. 1171 friend class FunctionState; // Pushes and pops the state stack.
1176 friend class AstContext; // Pushes and pops the AST context stack. 1172 friend class AstContext; // Pushes and pops the AST context stack.
1177 1173
1178 DISALLOW_COPY_AND_ASSIGN(HGraphBuilder); 1174 DISALLOW_COPY_AND_ASSIGN(HGraphBuilder);
1179 }; 1175 };
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 const char* filename_; 1412 const char* filename_;
1417 HeapStringAllocator string_allocator_; 1413 HeapStringAllocator string_allocator_;
1418 StringStream trace_; 1414 StringStream trace_;
1419 int indent_; 1415 int indent_;
1420 }; 1416 };
1421 1417
1422 1418
1423 } } // namespace v8::internal 1419 } } // namespace v8::internal
1424 1420
1425 #endif // V8_HYDROGEN_H_ 1421 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap-profiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698