| 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 837 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 848   void PushAndAdd(HInstruction* instr); | 848   void PushAndAdd(HInstruction* instr); | 
| 849 | 849 | 
| 850   // Remove the arguments from the bailout environment and emit instructions | 850   // Remove the arguments from the bailout environment and emit instructions | 
| 851   // to push them as outgoing parameters. | 851   // to push them as outgoing parameters. | 
| 852   template <int V> HInstruction* PreProcessCall(HCall<V>* call); | 852   template <int V> HInstruction* PreProcessCall(HCall<V>* call); | 
| 853 | 853 | 
| 854   void TraceRepresentation(Token::Value op, | 854   void TraceRepresentation(Token::Value op, | 
| 855                            TypeInfo info, | 855                            TypeInfo info, | 
| 856                            HValue* value, | 856                            HValue* value, | 
| 857                            Representation rep); | 857                            Representation rep); | 
| 858   void AssumeRepresentation(HValue* value, Representation rep); |  | 
| 859   static Representation ToRepresentation(TypeInfo info); | 858   static Representation ToRepresentation(TypeInfo info); | 
| 860 | 859 | 
| 861   void SetupScope(Scope* scope); | 860   void SetupScope(Scope* scope); | 
| 862   virtual void VisitStatements(ZoneList<Statement*>* statements); | 861   virtual void VisitStatements(ZoneList<Statement*>* statements); | 
| 863 | 862 | 
| 864 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); | 863 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); | 
| 865   AST_NODE_LIST(DECLARE_VISIT) | 864   AST_NODE_LIST(DECLARE_VISIT) | 
| 866 #undef DECLARE_VISIT | 865 #undef DECLARE_VISIT | 
| 867 | 866 | 
| 868   HBasicBlock* CreateBasicBlock(HEnvironment* env); | 867   HBasicBlock* CreateBasicBlock(HEnvironment* env); | 
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1233   const char* filename_; | 1232   const char* filename_; | 
| 1234   HeapStringAllocator string_allocator_; | 1233   HeapStringAllocator string_allocator_; | 
| 1235   StringStream trace_; | 1234   StringStream trace_; | 
| 1236   int indent_; | 1235   int indent_; | 
| 1237 }; | 1236 }; | 
| 1238 | 1237 | 
| 1239 | 1238 | 
| 1240 } }  // namespace v8::internal | 1239 } }  // namespace v8::internal | 
| 1241 | 1240 | 
| 1242 #endif  // V8_HYDROGEN_H_ | 1241 #endif  // V8_HYDROGEN_H_ | 
| OLD | NEW | 
|---|