Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp @ 2464:d86923d96dca
7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
Summary: Fix -XX:+VerifyOops
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Fri, 08 Apr 2011 17:03:31 -0700 |
parents | 5577848f5923 |
children | 6c97c830fb6f |
comparison
equal
deleted
inserted
replaced
2463:3f49d30f8184 | 2464:d86923d96dca |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 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. |
385 verify_oop_addr(Address(SP, stack_offset + STACK_BIAS)); | 385 verify_oop_addr(Address(SP, stack_offset + STACK_BIAS)); |
386 } | 386 } |
387 | 387 |
388 void C1_MacroAssembler::verify_not_null_oop(Register r) { | 388 void C1_MacroAssembler::verify_not_null_oop(Register r) { |
389 Label not_null; | 389 Label not_null; |
390 br_zero(Assembler::notEqual, false, Assembler::pt, r, not_null); | 390 br_notnull(r, false, Assembler::pt, not_null); |
391 delayed()->nop(); | 391 delayed()->nop(); |
392 stop("non-null oop required"); | 392 stop("non-null oop required"); |
393 bind(not_null); | 393 bind(not_null); |
394 if (!VerifyOops) return; | 394 if (!VerifyOops) return; |
395 verify_oop(r); | 395 verify_oop(r); |