| 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 23 matching lines...) Expand all Loading... |
| 34 #define V8_CODEGEN_H_ | 34 #define V8_CODEGEN_H_ |
| 35 | 35 |
| 36 namespace v8 { namespace internal { | 36 namespace v8 { namespace internal { |
| 37 | 37 |
| 38 | 38 |
| 39 // Use lazy compilation; defaults to true. | 39 // Use lazy compilation; defaults to true. |
| 40 // NOTE: Do not remove non-lazy compilation until we can properly | 40 // NOTE: Do not remove non-lazy compilation until we can properly |
| 41 // install extensions with lazy compilation enabled. At the | 41 // install extensions with lazy compilation enabled. At the |
| 42 // moment, this doesn't work for the extensions in Google3, | 42 // moment, this doesn't work for the extensions in Google3, |
| 43 // and we can only run the tests with --nolazy. | 43 // and we can only run the tests with --nolazy. |
| 44 DECLARE_bool(lazy); | |
| 45 | 44 |
| 46 | 45 |
| 47 // Forward declaration. | 46 // Forward declaration. |
| 48 class CodeGenerator; | 47 class CodeGenerator; |
| 49 | 48 |
| 50 | 49 |
| 51 // Deferred code objects are small pieces of code that are compiled | 50 // Deferred code objects are small pieces of code that are compiled |
| 52 // out of line. They are used to defer the compilation of uncommon | 51 // out of line. They are used to defer the compilation of uncommon |
| 53 // paths thereby avoiding expensive jumps around uncommon code parts. | 52 // paths thereby avoiding expensive jumps around uncommon code parts. |
| 54 class DeferredCode: public ZoneObject { | 53 class DeferredCode: public ZoneObject { |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 int MinorKey() { return 1; } | 311 int MinorKey() { return 1; } |
| 313 | 312 |
| 314 const char* GetName() { return "JSConstructEntryStub"; } | 313 const char* GetName() { return "JSConstructEntryStub"; } |
| 315 }; | 314 }; |
| 316 | 315 |
| 317 | 316 |
| 318 } // namespace internal | 317 } // namespace internal |
| 319 } // namespace v8 | 318 } // namespace v8 |
| 320 | 319 |
| 321 #endif // V8_CODEGEN_H_ | 320 #endif // V8_CODEGEN_H_ |
| OLD | NEW |