| Index: src/parser.cc | 
| diff --git a/src/parser.cc b/src/parser.cc | 
| index e3ce0f0172a4c340c0a904d30c6511b7b9bb476a..c882dac2a9fa52ca254b7cba18af06911a0241c4 100644 | 
| --- a/src/parser.cc | 
| +++ b/src/parser.cc | 
| @@ -72,7 +72,7 @@ ParseInfo::ParseInfo(Zone* zone, Handle<SharedFunctionInfo> shared) | 
|  | 
| Handle<Script> script(Script::cast(shared->script())); | 
| set_script(script); | 
| -  if (!script.is_null() && script->type()->value() == Script::TYPE_NATIVE) { | 
| +  if (!script.is_null() && script->type() == Script::TYPE_NATIVE) { | 
| set_native(); | 
| } | 
| } | 
| @@ -86,7 +86,7 @@ ParseInfo::ParseInfo(Zone* zone, Handle<Script> script) : ParseInfo(zone) { | 
| set_unicode_cache(isolate_->unicode_cache()); | 
| set_script(script); | 
|  | 
| -  if (script->type()->value() == Script::TYPE_NATIVE) { | 
| +  if (script->type() == Script::TYPE_NATIVE) { | 
| set_native(); | 
| } | 
| } | 
|  |