Index: src/x64/regexp-macro-assembler-x64.cc |
=================================================================== |
--- src/x64/regexp-macro-assembler-x64.cc (revision 7820) |
+++ src/x64/regexp-macro-assembler-x64.cc (working copy) |
@@ -703,7 +703,7 @@ |
} |
-Handle<Object> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
+Handle<HeapObject> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
// Finalize code - write the entry point code now we know how many |
// registers we need. |
// Entry code: |
@@ -972,7 +972,7 @@ |
code_desc, Code::ComputeFlags(Code::REGEXP), |
masm_.CodeObject()); |
PROFILE(isolate, RegExpCodeCreateEvent(*code, *source)); |
- return Handle<Object>::cast(code); |
+ return Handle<HeapObject>::cast(code); |
} |