| Index: src/runtime.cc
 | 
| diff --git a/src/runtime.cc b/src/runtime.cc
 | 
| index 4b20bcd5f2e2faba379ce17d26eb767ab454b33a..ed3527fa9202cb9977101725598cec30b3af1bba 100644
 | 
| --- a/src/runtime.cc
 | 
| +++ b/src/runtime.cc
 | 
| @@ -12887,7 +12887,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugSetScriptSource) {
 | 
|    RUNTIME_ASSERT(script_wrapper->value()->IsScript());
 | 
|    Handle<Script> script(Script::cast(script_wrapper->value()));
 | 
|  
 | 
| -  int compilation_state = Smi::cast(script->compilation_state())->value();
 | 
| +  int compilation_state = script->compilation_state();
 | 
|    RUNTIME_ASSERT(compilation_state == Script::COMPILATION_STATE_INITIAL);
 | 
|    script->set_source(*source);
 | 
|  
 | 
| 
 |