equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1999-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. |
343 LIR_Opr FrameMap::stack_pointer() { |
343 LIR_Opr FrameMap::stack_pointer() { |
344 return SP_opr; |
344 return SP_opr; |
345 } |
345 } |
346 |
346 |
347 |
347 |
|
348 // JSR 292 |
|
349 LIR_Opr FrameMap::method_handle_invoke_SP_save_opr() { |
|
350 assert(L7 == L7_mh_SP_save, "must be same register"); |
|
351 return L7_opr; |
|
352 } |
|
353 |
|
354 |
348 bool FrameMap::validate_frame() { |
355 bool FrameMap::validate_frame() { |
349 int max_offset = in_bytes(framesize_in_bytes()); |
356 int max_offset = in_bytes(framesize_in_bytes()); |
350 int java_index = 0; |
357 int java_index = 0; |
351 for (int i = 0; i < _incoming_arguments->length(); i++) { |
358 for (int i = 0; i < _incoming_arguments->length(); i++) { |
352 LIR_Opr opr = _incoming_arguments->at(i); |
359 LIR_Opr opr = _incoming_arguments->at(i); |