Fix a GC-safety issue in optimized code.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Sep 2011 12:20:11 +0000 (12:20 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Sep 2011 12:20:11 +0000 (12:20 +0000)
commitc1b978c0769dfee3c2758d3046f517b3eceb2466
tree59a710897438792b3439509269313f61ad110e3a
parent0455aadbebf752308c9a917565dd847f36500bf4
Fix a GC-safety issue in optimized code.

It's not safe to use an immediate heap object in generated unless we take
pains to ensure it's not in new space.  Continue using the caller's context
for inlined functions on all platforms except IA32.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9427 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc