| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // GenerateFastCaseSwitchCases | 64 // GenerateFastCaseSwitchCases |
| 65 // TryGenerateFastCaseSwitchStatement | 65 // TryGenerateFastCaseSwitchStatement |
| 66 // GenerateFastCaseSwitchJumpTable | 66 // GenerateFastCaseSwitchJumpTable |
| 67 // FastCaseSwitchMinCaseCount | 67 // FastCaseSwitchMinCaseCount |
| 68 // FastCaseSwitchMaxOverheadFactor | 68 // FastCaseSwitchMaxOverheadFactor |
| 69 // CodeForFunctionPosition | 69 // CodeForFunctionPosition |
| 70 // CodeForReturnPosition | 70 // CodeForReturnPosition |
| 71 // CodeForStatementPosition | 71 // CodeForStatementPosition |
| 72 // CodeForSourcePosition | 72 // CodeForSourcePosition |
| 73 | 73 |
| 74 |
| 75 // Mode to overwrite BinaryExpression values. |
| 76 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; |
| 77 |
| 78 |
| 74 #ifdef ARM | 79 #ifdef ARM |
| 75 #include "codegen-arm.h" | 80 #include "codegen-arm.h" |
| 76 #else | 81 #else |
| 77 #include "codegen-ia32.h" | 82 #include "codegen-ia32.h" |
| 78 #endif | 83 #endif |
| 79 | 84 |
| 80 namespace v8 { namespace internal { | 85 namespace v8 { namespace internal { |
| 81 | 86 |
| 82 | 87 |
| 83 // Use lazy compilation; defaults to true. | 88 // Use lazy compilation; defaults to true. |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 PrintF("ArgumentsAccessStub (type %d)\n", type_); | 307 PrintF("ArgumentsAccessStub (type %d)\n", type_); |
| 303 } | 308 } |
| 304 #endif | 309 #endif |
| 305 }; | 310 }; |
| 306 | 311 |
| 307 | 312 |
| 308 } // namespace internal | 313 } // namespace internal |
| 309 } // namespace v8 | 314 } // namespace v8 |
| 310 | 315 |
| 311 #endif // V8_CODEGEN_H_ | 316 #endif // V8_CODEGEN_H_ |
| OLD | NEW |