Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 2168:e4fee0bdaa85
7008809: should report the class in ArrayStoreExceptions from compiled code
Reviewed-by: iveresov, twisti
author | never |
---|---|
date | Mon, 24 Jan 2011 13:34:18 -0800 |
parents | ac637b7220d1 |
children | c7f3d0b4570f |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_CodeStubs_x86.cpp Fri Jan 21 13:03:13 2011 -0800 +++ b/src/cpu/x86/vm/c1_CodeStubs_x86.cpp Mon Jan 24 13:34:18 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -411,20 +411,6 @@ } -ArrayStoreExceptionStub::ArrayStoreExceptionStub(CodeEmitInfo* info): - _info(info) { -} - - -void ArrayStoreExceptionStub::emit_code(LIR_Assembler* ce) { - assert(__ rsp_offset() == 0, "frame size should be fixed"); - __ bind(_entry); - __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::throw_array_store_exception_id))); - ce->add_call_info_here(_info); - debug_only(__ should_not_reach_here()); -} - - void ArrayCopyStub::emit_code(LIR_Assembler* ce) { //---------------slow case: call to native----------------- __ bind(_entry);