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