OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 UNREACHABLE(); | 189 UNREACHABLE(); |
190 } | 190 } |
191 | 191 |
192 | 192 |
193 void FastCodeGenerator::VisitSlot(Slot* expr) { | 193 void FastCodeGenerator::VisitSlot(Slot* expr) { |
194 // Slots do not appear directly in the AST. | 194 // Slots do not appear directly in the AST. |
195 UNREACHABLE(); | 195 UNREACHABLE(); |
196 } | 196 } |
197 | 197 |
198 | 198 |
| 199 void FastCodeGenerator::VisitLiteral(Literal* expr) { |
| 200 // No code is emitted (here) for simple literals. |
| 201 } |
| 202 |
| 203 |
199 void FastCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { | 204 void FastCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
200 UNREACHABLE(); | 205 UNREACHABLE(); |
201 } | 206 } |
202 | 207 |
203 | 208 |
204 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { | 209 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
205 UNREACHABLE(); | 210 UNREACHABLE(); |
206 } | 211 } |
207 | 212 |
208 | 213 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 UNREACHABLE(); | 265 UNREACHABLE(); |
261 } | 266 } |
262 | 267 |
263 | 268 |
264 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { | 269 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
265 UNREACHABLE(); | 270 UNREACHABLE(); |
266 } | 271 } |
267 | 272 |
268 | 273 |
269 } } // namespace v8::internal | 274 } } // namespace v8::internal |
OLD | NEW |