OLD | NEW |
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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 // Remove the arguments from the bailout environment and emit instructions | 863 // Remove the arguments from the bailout environment and emit instructions |
864 // to push them as outgoing parameters. | 864 // to push them as outgoing parameters. |
865 template <int V> HInstruction* PreProcessCall(HCall<V>* call); | 865 template <int V> HInstruction* PreProcessCall(HCall<V>* call); |
866 | 866 |
867 void TraceRepresentation(Token::Value op, | 867 void TraceRepresentation(Token::Value op, |
868 TypeInfo info, | 868 TypeInfo info, |
869 HValue* value, | 869 HValue* value, |
870 Representation rep); | 870 Representation rep); |
871 static Representation ToRepresentation(TypeInfo info); | 871 static Representation ToRepresentation(TypeInfo info); |
872 | 872 |
873 void SetupScope(Scope* scope); | 873 void SetUpScope(Scope* scope); |
874 virtual void VisitStatements(ZoneList<Statement*>* statements); | 874 virtual void VisitStatements(ZoneList<Statement*>* statements); |
875 | 875 |
876 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); | 876 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); |
877 AST_NODE_LIST(DECLARE_VISIT) | 877 AST_NODE_LIST(DECLARE_VISIT) |
878 #undef DECLARE_VISIT | 878 #undef DECLARE_VISIT |
879 | 879 |
880 HBasicBlock* CreateBasicBlock(HEnvironment* env); | 880 HBasicBlock* CreateBasicBlock(HEnvironment* env); |
881 HBasicBlock* CreateLoopHeaderBlock(); | 881 HBasicBlock* CreateLoopHeaderBlock(); |
882 | 882 |
883 // Helpers for flow graph construction. | 883 // Helpers for flow graph construction. |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 const char* filename_; | 1251 const char* filename_; |
1252 HeapStringAllocator string_allocator_; | 1252 HeapStringAllocator string_allocator_; |
1253 StringStream trace_; | 1253 StringStream trace_; |
1254 int indent_; | 1254 int indent_; |
1255 }; | 1255 }; |
1256 | 1256 |
1257 | 1257 |
1258 } } // namespace v8::internal | 1258 } } // namespace v8::internal |
1259 | 1259 |
1260 #endif // V8_HYDROGEN_H_ | 1260 #endif // V8_HYDROGEN_H_ |
OLD | NEW |