| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 void VisitStatements(ZoneList<Statement*>* statements); | 308 void VisitStatements(ZoneList<Statement*>* statements); |
| 309 | 309 |
| 310 #define DEF_VISIT(type) \ | 310 #define DEF_VISIT(type) \ |
| 311 void Visit##type(type* node); | 311 void Visit##type(type* node); |
| 312 AST_NODE_LIST(DEF_VISIT) | 312 AST_NODE_LIST(DEF_VISIT) |
| 313 #undef DEF_VISIT | 313 #undef DEF_VISIT |
| 314 | 314 |
| 315 // Main code generation function | 315 // Main code generation function |
| 316 void Generate(CompilationInfo* info); | 316 void Generate(CompilationInfo* info); |
| 317 | 317 |
| 318 // Generate the return sequence code. Should be called no more than |
| 319 // once per compiled function, immediately after binding the return |
| 320 // target (which can not be done more than once). The return value should |
| 321 // be in r0. |
| 322 void GenerateReturnSequence(); |
| 323 |
| 318 // Returns the arguments allocation mode. | 324 // Returns the arguments allocation mode. |
| 319 ArgumentsAllocationMode ArgumentsMode(); | 325 ArgumentsAllocationMode ArgumentsMode(); |
| 320 | 326 |
| 321 // Store the arguments object and allocate it if necessary. | 327 // Store the arguments object and allocate it if necessary. |
| 322 void StoreArgumentsObject(bool initial); | 328 void StoreArgumentsObject(bool initial); |
| 323 | 329 |
| 324 // The following are used by class Reference. | 330 // The following are used by class Reference. |
| 325 void LoadReference(Reference* ref); | 331 void LoadReference(Reference* ref); |
| 326 void UnloadReference(Reference* ref); | 332 void UnloadReference(Reference* ref); |
| 327 | 333 |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 return ObjectBits::encode(object_.code()) | | 969 return ObjectBits::encode(object_.code()) | |
| 964 OffsetBits::encode(offset_.code()) | | 970 OffsetBits::encode(offset_.code()) | |
| 965 ScratchBits::encode(scratch_.code()); | 971 ScratchBits::encode(scratch_.code()); |
| 966 } | 972 } |
| 967 }; | 973 }; |
| 968 | 974 |
| 969 | 975 |
| 970 } } // namespace v8::internal | 976 } } // namespace v8::internal |
| 971 | 977 |
| 972 #endif // V8_ARM_CODEGEN_ARM_H_ | 978 #endif // V8_ARM_CODEGEN_ARM_H_ |
| OLD | NEW |