Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_LIR.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 | 10ee2b297ccd |
comparison
equal
deleted
inserted
replaced
2167:aa4b04b68652 | 2168:e4fee0bdaa85 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
394 , _profiled_method(NULL) | 394 , _profiled_method(NULL) |
395 , _profiled_bci(-1) | 395 , _profiled_bci(-1) |
396 , _should_profile(false) | 396 , _should_profile(false) |
397 { | 397 { |
398 if (code == lir_store_check) { | 398 if (code == lir_store_check) { |
399 _stub = new ArrayStoreExceptionStub(info_for_exception); | 399 _stub = new ArrayStoreExceptionStub(object, info_for_exception); |
400 assert(info_for_exception != NULL, "store_check throws exceptions"); | 400 assert(info_for_exception != NULL, "store_check throws exceptions"); |
401 } else { | 401 } else { |
402 ShouldNotReachHere(); | 402 ShouldNotReachHere(); |
403 } | 403 } |
404 } | 404 } |