| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 #elif V8_TARGET_ARCH_X64 | 129 #elif V8_TARGET_ARCH_X64 |
| 130 static const int kCodeSizeMultiplier = 162; | 130 static const int kCodeSizeMultiplier = 162; |
| 131 #elif V8_TARGET_ARCH_ARM | 131 #elif V8_TARGET_ARCH_ARM |
| 132 static const int kCodeSizeMultiplier = 142; | 132 static const int kCodeSizeMultiplier = 142; |
| 133 #elif V8_TARGET_ARCH_MIPS | 133 #elif V8_TARGET_ARCH_MIPS |
| 134 static const int kCodeSizeMultiplier = 142; | 134 static const int kCodeSizeMultiplier = 142; |
| 135 #else | 135 #else |
| 136 #error Unsupported target architecture. | 136 #error Unsupported target architecture. |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize; | 139 static const int kBackEdgeEntrySize = 3 * kIntSize; |
| 140 | 140 |
| 141 private: | 141 private: |
| 142 class Breakable; | 142 class Breakable; |
| 143 class Iteration; | 143 class Iteration; |
| 144 | 144 |
| 145 class TestContext; | 145 class TestContext; |
| 146 | 146 |
| 147 class NestedStatement BASE_EMBEDDED { | 147 class NestedStatement BASE_EMBEDDED { |
| 148 public: | 148 public: |
| 149 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { | 149 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 Handle<FixedArray> handler_table() { return handler_table_; } | 641 Handle<FixedArray> handler_table() { return handler_table_; } |
| 642 | 642 |
| 643 struct BailoutEntry { | 643 struct BailoutEntry { |
| 644 BailoutId id; | 644 BailoutId id; |
| 645 unsigned pc_and_state; | 645 unsigned pc_and_state; |
| 646 }; | 646 }; |
| 647 | 647 |
| 648 struct BackEdgeEntry { | 648 struct BackEdgeEntry { |
| 649 BailoutId id; | 649 BailoutId id; |
| 650 unsigned pc; | 650 unsigned pc; |
| 651 uint8_t loop_depth; | 651 uint32_t loop_depth; |
| 652 }; | 652 }; |
| 653 | 653 |
| 654 struct TypeFeedbackCellEntry { | 654 struct TypeFeedbackCellEntry { |
| 655 TypeFeedbackId ast_id; | 655 TypeFeedbackId ast_id; |
| 656 Handle<Cell> cell; | 656 Handle<Cell> cell; |
| 657 }; | 657 }; |
| 658 | 658 |
| 659 | 659 |
| 660 class ExpressionContext BASE_EMBEDDED { | 660 class ExpressionContext BASE_EMBEDDED { |
| 661 public: | 661 public: |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 } | 878 } |
| 879 | 879 |
| 880 private: | 880 private: |
| 881 Zone* zone_; | 881 Zone* zone_; |
| 882 }; | 882 }; |
| 883 | 883 |
| 884 | 884 |
| 885 } } // namespace v8::internal | 885 } } // namespace v8::internal |
| 886 | 886 |
| 887 #endif // V8_FULL_CODEGEN_H_ | 887 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |