Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index a687d81a3e57351eab2d2d2b6b9839f3fc3ebfcf..dec7a9db0051f400a779c8c5320ccfb3b55680e6 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1539,7 +1539,7 @@ Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags, |
Handle<Name> name) { |
return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) |
? GetCodeWithFlags(flags, *Handle<String>::cast(name)->ToCString()) |
- : GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL)); |
+ : GetCodeWithFlags(flags, NULL); |
} |