Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c1_FrameMap_sparc.cpp @ 1579:e9ff18c4ace7
Merge
author | jrose |
---|---|
date | Wed, 02 Jun 2010 22:45:42 -0700 |
parents | c18cbe5936b8 61b2245abf36 |
children | b812ff5abc73 |
comparison
equal
deleted
inserted
replaced
1562:dfe27f03244a | 1579:e9ff18c4ace7 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 2010, 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. |
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); |