summaryrefslogtreecommitdiffstats
path: root/lib/webrick/httpservlet/cgi_runner.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-13 09:58:12 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-13 09:58:12 +0000
commit96906a57286872d0020304fca4198edd7de79cea (patch)
tree2e073d3e8fff6dc1b1b93d2fd081495bfa4c5d2b /lib/webrick/httpservlet/cgi_runner.rb
parent7662d911628f17afbdf6466d22dd63e321d1166f (diff)
downloadruby-96906a57286872d0020304fca4198edd7de79cea.tar.gz
ruby-96906a57286872d0020304fca4198edd7de79cea.tar.xz
ruby-96906a57286872d0020304fca4198edd7de79cea.zip
* gc.c (stack_end_address): new function to obtain stack end address.
stack_end_address calls __builtin_frame_address(0) to obtain the frame pointer of a stack frame of stack_end_address. The address is the stack pointer of the caller's stack frame. (SET_STACK_END): use stack_end_address. This makes the conservative garbage collector to scan a stack frame of the garbage_collect function itself. This is required because callee-save registers may be stored in the frame. [ruby-dev:25158] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpservlet/cgi_runner.rb')
0 files changed, 0 insertions, 0 deletions