diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-03 10:33:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-03 13:33:49 -0400 |
| commit | 124f10f56b16e4fa4572b6dffde7487dcf914b26 (patch) | |
| tree | ec0fc0cc5d7601cd80dba53f96998a7da2f2a9b5 /yjit/src/codegen.rs | |
| parent | 00f559641a0b4941e0022c67657469dc565ce44d (diff) | |
YJIT: Fix a wrong type reference (#6661)
* YJIT: Fix a wrong type reference
* YJIT: Just remove CapturedSelfOpnd for now
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit/src/codegen.rs')
| -rw-r--r-- | yjit/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 9ec6c26f89..8e36c44823 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -5073,7 +5073,7 @@ fn gen_send_iseq( } let recv_type = if captured_self { - ctx.get_opnd_type(CapturedSelfOpnd) + Type::Unknown // we don't track the type information of captured->self for now } else { ctx.get_opnd_type(StackOpnd(argc.try_into().unwrap())) }; |
