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

Side by Side Diff: src/hydrogen.h

Issue 6969034: Made the output of the --trace-representation flag a bit more informative and (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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 | « no previous file | 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 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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 void VisitExpressions(ZoneList<Expression*>* exprs); 812 void VisitExpressions(ZoneList<Expression*>* exprs);
813 813
814 void AddPhi(HPhi* phi); 814 void AddPhi(HPhi* phi);
815 815
816 void PushAndAdd(HInstruction* instr); 816 void PushAndAdd(HInstruction* instr);
817 817
818 // Remove the arguments from the bailout environment and emit instructions 818 // Remove the arguments from the bailout environment and emit instructions
819 // to push them as outgoing parameters. 819 // to push them as outgoing parameters.
820 template <int V> HInstruction* PreProcessCall(HCall<V>* call); 820 template <int V> HInstruction* PreProcessCall(HCall<V>* call);
821 821
822 void AssumeRepresentation(HValue* value, Representation r); 822 void TraceRepresentation(Token::Value op,
823 TypeInfo info,
824 HValue* value,
825 Representation rep);
826 void AssumeRepresentation(HValue* value, Representation rep);
823 static Representation ToRepresentation(TypeInfo info); 827 static Representation ToRepresentation(TypeInfo info);
824 828
825 void SetupScope(Scope* scope); 829 void SetupScope(Scope* scope);
826 virtual void VisitStatements(ZoneList<Statement*>* statements); 830 virtual void VisitStatements(ZoneList<Statement*>* statements);
827 831
828 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); 832 #define DECLARE_VISIT(type) virtual void Visit##type(type* node);
829 AST_NODE_LIST(DECLARE_VISIT) 833 AST_NODE_LIST(DECLARE_VISIT)
830 #undef DECLARE_VISIT 834 #undef DECLARE_VISIT
831 835
832 HBasicBlock* CreateBasicBlock(HEnvironment* env); 836 HBasicBlock* CreateBasicBlock(HEnvironment* env);
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 const char* filename_; 1197 const char* filename_;
1194 HeapStringAllocator string_allocator_; 1198 HeapStringAllocator string_allocator_;
1195 StringStream trace_; 1199 StringStream trace_;
1196 int indent_; 1200 int indent_;
1197 }; 1201 };
1198 1202
1199 1203
1200 } } // namespace v8::internal 1204 } } // namespace v8::internal
1201 1205
1202 #endif // V8_HYDROGEN_H_ 1206 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698