Mercurial > hg > truffle
comparison src/share/vm/opto/callnode.hpp @ 601:523ded093c31
6809798: SafePointScalarObject node placed into incorrect block during GCM
Summary: Replace the control edge of a pinned node before scheduling.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 26 Feb 2009 14:26:02 -0800 |
parents | 424f9bfe6b96 |
children | ad8c635e757e |
comparison
equal
deleted
inserted
replaced
600:07d449658fc7 | 601:523ded093c31 |
---|---|
435 | 435 |
436 // SafePointScalarObject should be always pinned to the control edge | 436 // SafePointScalarObject should be always pinned to the control edge |
437 // of the SafePoint node for which it was generated. | 437 // of the SafePoint node for which it was generated. |
438 virtual bool pinned() const; // { return true; } | 438 virtual bool pinned() const; // { return true; } |
439 | 439 |
440 // SafePointScalarObject depends on the SafePoint node | |
441 // for which it was generated. | |
442 virtual bool depends_only_on_test() const; // { return false; } | |
443 | |
440 virtual uint size_of() const { return sizeof(*this); } | 444 virtual uint size_of() const { return sizeof(*this); } |
441 | 445 |
442 // Assumes that "this" is an argument to a safepoint node "s", and that | 446 // Assumes that "this" is an argument to a safepoint node "s", and that |
443 // "new_call" is being created to correspond to "s". But the difference | 447 // "new_call" is being created to correspond to "s". But the difference |
444 // between the start index of the jvmstates of "new_call" and "s" is | 448 // between the start index of the jvmstates of "new_call" and "s" is |