[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:223

From: Charles Oliver Nutter <charles.nutter sun.com>
Date: Thu, 26 Oct 2006 01:17:10 -0500
Subject: [yarv-dev-en:223] Missing setn instruction on web

The list of instructions on the web doesn't appear to have "setn", 
though it shows up in insns.def.

Also, does "setn" pop the value at the top when it sets the nth element 
in the stack? It didn't seem clear from the instruction definition:

DEFINE_INSN
setn
(num_t n)
(..., VALUE val)
(VALUE val) // inc += 0
{
     GET_SP()[-n] = val;
}

-- 
Charles Oliver Nutter, JRuby Core Developer
Blogging on Ruby and Java @ headius.blogspot.com
Help spec out Ruby today! @ www.headius.com/rubyspec
headius headius.com -- charles.nutter sun.com

--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

->     223 2006-10-26 15:17 [charles.nutter sun.c] Missing setn instruction on web         
       224 2006-10-26 17:49 ┗[ko1 atdot.net       ]