| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 UNREACHABLE(); | 272 UNREACHABLE(); |
| 273 } | 273 } |
| 274 | 274 |
| 275 | 275 |
| 276 void FastCodeGenerator::VisitSlot(Slot* expr) { | 276 void FastCodeGenerator::VisitSlot(Slot* expr) { |
| 277 // Slots do not appear directly in the AST. | 277 // Slots do not appear directly in the AST. |
| 278 UNREACHABLE(); | 278 UNREACHABLE(); |
| 279 } | 279 } |
| 280 | 280 |
| 281 | 281 |
| 282 void FastCodeGenerator::VisitLiteral(Literal* expr) { | |
| 283 // No code is emitted (here) for simple literals. | |
| 284 } | |
| 285 | |
| 286 | |
| 287 void FastCodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* expr) { | 282 void FastCodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* expr) { |
| 288 UNREACHABLE(); | 283 UNREACHABLE(); |
| 289 } | 284 } |
| 290 | 285 |
| 291 | 286 |
| 292 void FastCodeGenerator::VisitThrow(Throw* expr) { | 287 void FastCodeGenerator::VisitThrow(Throw* expr) { |
| 293 UNREACHABLE(); | 288 UNREACHABLE(); |
| 294 } | 289 } |
| 295 | 290 |
| 296 | 291 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 318 UNREACHABLE(); | 313 UNREACHABLE(); |
| 319 } | 314 } |
| 320 | 315 |
| 321 | 316 |
| 322 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { | 317 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
| 323 UNREACHABLE(); | 318 UNREACHABLE(); |
| 324 } | 319 } |
| 325 | 320 |
| 326 | 321 |
| 327 } } // namespace v8::internal | 322 } } // namespace v8::internal |
| OLD | NEW |