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
This commit is contained in:
parent
c8e795e3af
commit
feefa06b35
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user