Mercurial > hg > graal-compiler
diff src/cpu/ppc/vm/interpreter_ppc.hpp @ 14726:92aa6797d639
Backed out merge changeset: b51e29501f30
Backed out merge revision to its first parent (8f483e200405)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Mar 2014 21:30:43 +0100 |
parents | 58cf34613a72 |
children |
line wrap: on
line diff
--- a/src/cpu/ppc/vm/interpreter_ppc.hpp Fri Mar 21 16:36:59 2014 -0700 +++ b/src/cpu/ppc/vm/interpreter_ppc.hpp Mon Mar 24 21:30:43 2014 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. - * Copyright 2012, 2014 SAP AG. All rights reserved. + * Copyright 2012, 2013 SAP AG. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,23 +28,15 @@ public: - // Stack index relative to tos (which points at value). + // Stack index relative to tos (which points at value) static int expr_index_at(int i) { return stackElementWords * i; } - // Already negated by c++ interpreter. + // Already negated by c++ interpreter static int local_index_at(int i) { assert(i <= 0, "local direction already negated"); return stackElementWords * i; } -#ifndef CC_INTERP - // The offset in bytes to access a expression stack slot - // relative to the esp pointer. - static int expr_offset_in_bytes(int slot) { - return stackElementSize * slot + wordSize; - } -#endif - #endif // CPU_PPC_VM_INTERPRETER_PPC_PP