src/share/vm/code/vmreg.cpp

changeset 3882
8c92982cbbc4
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
     1.1 --- a/src/share/vm/code/vmreg.cpp	Thu Jun 14 14:59:52 2012 -0700
     1.2 +++ b/src/share/vm/code/vmreg.cpp	Fri Jun 15 01:25:19 2012 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -27,7 +27,7 @@
    1.11  #include "code/vmreg.hpp"
    1.12  
    1.13  // First VMReg value that could refer to a stack slot
    1.14 -VMReg VMRegImpl::stack0 = (VMReg)(intptr_t)((ConcreteRegisterImpl::number_of_registers + 1) & ~1);
    1.15 +VMReg VMRegImpl::stack0 = (VMReg)(intptr_t)((ConcreteRegisterImpl::number_of_registers + 7) & ~7);
    1.16  
    1.17  // VMRegs are 4 bytes wide on all platforms
    1.18  const int VMRegImpl::stack_slot_size = 4;

mercurial