| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 UNREACHABLE(); | 394 UNREACHABLE(); |
| 395 } | 395 } |
| 396 | 396 |
| 397 | 397 |
| 398 void FastCodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) { | 398 void FastCodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) { |
| 399 UNREACHABLE(); | 399 UNREACHABLE(); |
| 400 } | 400 } |
| 401 | 401 |
| 402 | 402 |
| 403 void FastCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { | 403 void FastCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { |
| 404 UNREACHABLE(); | 404 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 405 Comment cmnt(masm_, "[ DebuggerStatement"); |
| 406 SetStatementPosition(stmt); |
| 407 __ CallRuntime(Runtime::kDebugBreak, 0); |
| 408 // Ignore the return value. |
| 409 #endif |
| 405 } | 410 } |
| 406 | 411 |
| 407 | 412 |
| 408 void FastCodeGenerator::VisitFunctionBoilerplateLiteral( | 413 void FastCodeGenerator::VisitFunctionBoilerplateLiteral( |
| 409 FunctionBoilerplateLiteral* expr) { | 414 FunctionBoilerplateLiteral* expr) { |
| 410 UNREACHABLE(); | 415 UNREACHABLE(); |
| 411 } | 416 } |
| 412 | 417 |
| 413 | 418 |
| 414 void FastCodeGenerator::VisitConditional(Conditional* expr) { | 419 void FastCodeGenerator::VisitConditional(Conditional* expr) { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 | 515 |
| 511 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { | 516 void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
| 512 UNREACHABLE(); | 517 UNREACHABLE(); |
| 513 } | 518 } |
| 514 | 519 |
| 515 | 520 |
| 516 #undef __ | 521 #undef __ |
| 517 | 522 |
| 518 | 523 |
| 519 } } // namespace v8::internal | 524 } } // namespace v8::internal |
| OLD | NEW |