Mercurial > hg > truffle
diff src/share/vm/runtime/rframe.cpp @ 1764:14197af1010e
Merge
author | never |
---|---|
date | Fri, 27 Aug 2010 17:35:08 -0700 |
parents | 3e8fbc61cee8 |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/runtime/rframe.cpp Fri Aug 27 17:33:49 2010 -0700 +++ b/src/share/vm/runtime/rframe.cpp Fri Aug 27 17:35:08 2010 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. 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 @@ -120,7 +120,7 @@ int CompiledRFrame::cost() const { nmethod* nm = top_method()->code(); if (nm != NULL) { - return nm->code_size(); + return nm->insts_size(); } else { return top_method()->code_size(); }