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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // Slots do not appear directly in the AST. | 276 // Slots do not appear directly in the AST. |
277 UNREACHABLE(); | 277 UNREACHABLE(); |
278 } | 278 } |
279 | 279 |
280 | 280 |
281 void FastCodeGenerator::VisitLiteral(Literal* expr) { | 281 void FastCodeGenerator::VisitLiteral(Literal* expr) { |
282 // No code is emitted (here) for simple literals. | 282 // No code is emitted (here) for simple literals. |
283 } | 283 } |
284 | 284 |
285 | 285 |
286 void FastCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { | |
287 UNREACHABLE(); | |
288 } | |
289 | |
290 | |
291 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { | 286 void FastCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
292 UNREACHABLE(); | 287 UNREACHABLE(); |
293 } | 288 } |
294 | 289 |
295 | 290 |
296 void FastCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { | 291 void FastCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
297 UNREACHABLE(); | 292 UNREACHABLE(); |
298 } | 293 } |
299 | 294 |
300 | 295 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 UNREACHABLE(); | 332 UNREACHABLE(); |
338 } | 333 } |
339 | 334 |
340 | 335 |
341 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { | 336 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
342 UNREACHABLE(); | 337 UNREACHABLE(); |
343 } | 338 } |
344 | 339 |
345 | 340 |
346 } } // namespace v8::internal | 341 } } // namespace v8::internal |
OLD | NEW |