Commit feefa06b authored by kasperl@chromium.org's avatar kasperl@chromium.org

Remove handle scope that caused debug mode assertion failures

because a handle was returned out of the destroyed scope.
Review URL: http://codereview.chromium.org/1029003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4152 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c8e795e3
......@@ -9226,9 +9226,9 @@ void GenericBinaryOpStub::GenerateTypeTransition(MacroAssembler* masm) {
__ bind(&get_result);
}
Handle<Code> GetBinaryOpStub(int key, BinaryOpIC::TypeInfo type_info) {
GenericBinaryOpStub stub(key, type_info);
HandleScope scope;
return stub.GetCode();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment