Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index eee8bea03bdee865fe1f353ca470d3ec02c74430..640c2dff4e891266ce2fab0c206173dc1f7067c5 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -278,7 +278,7 @@ int CallSite::GetColumnNumber() { |
bool CallSite::IsNative() { |
Handle<Object> script(fun_->shared()->script(), isolate_); |
return script->IsScript() && |
- Handle<Script>::cast(script)->type()->value() == Script::TYPE_NATIVE; |
+ Handle<Script>::cast(script)->type() == Script::TYPE_NATIVE; |
} |