| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 switch (state) { | 106 switch (state) { |
| 107 case NO_REGISTERS: return "NO_REGISTERS"; | 107 case NO_REGISTERS: return "NO_REGISTERS"; |
| 108 case TOS_REG: return "TOS_REG"; | 108 case TOS_REG: return "TOS_REG"; |
| 109 } | 109 } |
| 110 UNREACHABLE(); | 110 UNREACHABLE(); |
| 111 return NULL; | 111 return NULL; |
| 112 } | 112 } |
| 113 | 113 |
| 114 Zone* zone() const { return zone_; } | 114 Zone* zone() const { return zone_; } |
| 115 | 115 |
| 116 static const int kMaxBackEdgeWeight; |
| 117 static const int kBackEdgeDistanceUnit; |
| 118 |
| 116 private: | 119 private: |
| 117 class Breakable; | 120 class Breakable; |
| 118 class Iteration; | 121 class Iteration; |
| 119 | 122 |
| 120 class TestContext; | 123 class TestContext; |
| 121 | 124 |
| 122 class NestedStatement BASE_EMBEDDED { | 125 class NestedStatement BASE_EMBEDDED { |
| 123 public: | 126 public: |
| 124 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { | 127 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { |
| 125 // Link into codegen's nesting stack. | 128 // Link into codegen's nesting stack. |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 } | 820 } |
| 818 | 821 |
| 819 private: | 822 private: |
| 820 Zone* zone_; | 823 Zone* zone_; |
| 821 }; | 824 }; |
| 822 | 825 |
| 823 | 826 |
| 824 } } // namespace v8::internal | 827 } } // namespace v8::internal |
| 825 | 828 |
| 826 #endif // V8_FULL_CODEGEN_H_ | 829 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |