Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index eec5baf0c26bc9fce0fdf5da6711a27ceed24b2e..a562ace477a66ae99fc8d5cd638ebbad8817791e 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1110,7 +1110,7 @@ Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags, |
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, Handle<String>::cast(name)->ToCString().get()) |
: GetCodeWithFlags(flags, NULL); |
} |