Chromium Code Reviews| Index: src/execution.cc |
| diff --git a/src/execution.cc b/src/execution.cc |
| index d198c5a4b8038644094de57acd0b4f3854d8abc7..cfe61f963a87d41e86e153d2104bdc0791783c63 100644 |
| --- a/src/execution.cc |
| +++ b/src/execution.cc |
| @@ -37,13 +37,9 @@ void StackGuard::reset_limits(const ExecutionAccess& lock) { |
| static void PrintDeserializedCodeInfo(Handle<JSFunction> function) { |
| if (function->code() == function->shared()->code() && |
| function->shared()->deserialized()) { |
| - PrintF("Running deserialized script: "); |
| + PrintF("Running deserialized script "); |
| Object* script = function->shared()->script(); |
| - if (script->IsScript()) { |
| - Script::cast(script)->name()->ShortPrint(); |
| - } else { |
| - function->shared()->script()->ShortPrint(); |
| - } |
| + if (script->IsScript()) Script::cast(script)->name()->ShortPrint(); |
|
mvstanton
2014/10/17 16:16:38
Whew, much saneness.
|
| PrintF("\n"); |
| } |
| } |