| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 18 matching lines...) Expand all Loading... |
| 29 #define V8_CODEGEN_H_ | 29 #define V8_CODEGEN_H_ |
| 30 | 30 |
| 31 #include "ast.h" | 31 #include "ast.h" |
| 32 #include "code-stubs.h" | 32 #include "code-stubs.h" |
| 33 #include "runtime.h" | 33 #include "runtime.h" |
| 34 | 34 |
| 35 // Include the declaration of the architecture defined class CodeGenerator. | 35 // Include the declaration of the architecture defined class CodeGenerator. |
| 36 // The contract to the shared code is that the the CodeGenerator is a subclass | 36 // The contract to the shared code is that the the CodeGenerator is a subclass |
| 37 // of Visitor and that the following methods are available publicly: | 37 // of Visitor and that the following methods are available publicly: |
| 38 // MakeCode | 38 // MakeCode |
| 39 // MakeCodePrologue |
| 40 // MakeCodeEpilogue |
| 39 // SetFunctionInfo | 41 // SetFunctionInfo |
| 40 // masm | 42 // masm |
| 41 // frame | 43 // frame |
| 42 // has_valid_frame | 44 // has_valid_frame |
| 43 // SetFrame | 45 // SetFrame |
| 44 // DeleteFrame | 46 // DeleteFrame |
| 45 // allocator | 47 // allocator |
| 46 // AddDeferred | 48 // AddDeferred |
| 47 // in_spilled_code | 49 // in_spilled_code |
| 48 // set_in_spilled_code | 50 // set_in_spilled_code |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 PrintF("ArgumentsAccessStub (type %d)\n", type_); | 389 PrintF("ArgumentsAccessStub (type %d)\n", type_); |
| 388 } | 390 } |
| 389 #endif | 391 #endif |
| 390 }; | 392 }; |
| 391 | 393 |
| 392 | 394 |
| 393 } // namespace internal | 395 } // namespace internal |
| 394 } // namespace v8 | 396 } // namespace v8 |
| 395 | 397 |
| 396 #endif // V8_CODEGEN_H_ | 398 #endif // V8_CODEGEN_H_ |
| OLD | NEW |