comparison src/cpu/x86/vm/interp_masm_x86_32.cpp @ 1251:576e77447e3c

6923002: assert(false,"this call site should not be polymorphic") Summary: Clear the total count when a receiver information is cleared. Reviewed-by: never, jrose
author kvn
date Sun, 07 Feb 2010 12:15:06 -0800
parents 87684f1a88b5
children 2338d41fbd81
comparison
equal deleted inserted replaced
1250:3f5b7efb9642 1251:576e77447e3c
1 /* 1 /*
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1997-2010 Sun Microsystems, Inc. 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.
1306 if (start_row == last_row) { 1306 if (start_row == last_row) {
1307 // The only thing left to do is handle the null case. 1307 // The only thing left to do is handle the null case.
1308 if (is_virtual_call) { 1308 if (is_virtual_call) {
1309 jccb(Assembler::zero, found_null); 1309 jccb(Assembler::zero, found_null);
1310 // Receiver did not match any saved receiver and there is no empty row for it. 1310 // Receiver did not match any saved receiver and there is no empty row for it.
1311 // Increment total counter to indicate polimorphic case. 1311 // Increment total counter to indicate polymorphic case.
1312 increment_mdp_data_at(mdp, in_bytes(CounterData::count_offset())); 1312 increment_mdp_data_at(mdp, in_bytes(CounterData::count_offset()));
1313 jmp(done); 1313 jmp(done);
1314 bind(found_null); 1314 bind(found_null);
1315 } else { 1315 } else {
1316 jcc(Assembler::notZero, done); 1316 jcc(Assembler::notZero, done);