Commit graph

11330 commits

Author SHA1 Message Date
Takashi Kokubun
850303ded6 Implement putself 2023-03-05 22:11:20 -08:00
Takashi Kokubun
62d36dd127 Implement branch stub 2023-03-05 22:11:20 -08:00
Takashi Kokubun
1f69ba1d84 Use the actual sp_offset 2023-03-05 22:11:20 -08:00
Takashi Kokubun
ee80b2be20 Fix broken stats 2023-03-05 22:11:20 -08:00
Takashi Kokubun
a8dec34961 Implement initial opt_lt 2023-03-05 22:11:20 -08:00
Takashi Kokubun
21696ad81e Partly implement BOP assumption 2023-03-05 22:11:20 -08:00
Takashi Kokubun
00c659d246 Move the insn dispatch table to InsnCompiler 2023-03-05 22:11:20 -08:00
Takashi Kokubun
4b6c738180 Rewrite the stub if it's the last code 2023-03-05 22:11:20 -08:00
Takashi Kokubun
c3d99d0f12 Implement defer_compilation 2023-03-05 22:11:20 -08:00
Takashi Kokubun
2b8d1c93ea Support extended registers
and move argument registers to a couple of them.
2023-03-05 22:11:20 -08:00
Takashi Kokubun
d7dba4c510 Colorize outlined code 2023-03-05 22:11:20 -08:00
Takashi Kokubun
36cec59f0a Implement ocb 2023-03-05 22:11:20 -08:00
Takashi Kokubun
7abff797b4 Use the term "compile" in different places 2023-03-05 22:11:20 -08:00
Takashi Kokubun
c51baf9404 Carve out CodeBlock 2023-03-05 22:11:20 -08:00
Takashi Kokubun
28290d5198 Try carving out ExitCompiler 2023-03-05 22:11:20 -08:00
Takashi Kokubun
7a19aad8c3 Implement putobject 2023-03-05 22:11:20 -08:00
Takashi Kokubun
9352f94a1b Implement getlocal_WC_0 2023-03-05 22:11:20 -08:00
Takashi Kokubun
4eb6f1dbb9 Put nil on an appropriate index 2023-03-05 22:11:20 -08:00
Takashi Kokubun
e9535a439b Split branches for mov src and dst 2023-03-05 22:11:20 -08:00
Takashi Kokubun
5760f7fd3c Skip compiling at_exit without --mjit-stats 2023-03-05 22:11:20 -08:00
Takashi Kokubun
e4a824f769 Fix broken rebase 2023-03-05 22:11:20 -08:00
Takashi Kokubun
9f8f1afba2 Implement --mjit-stats 2023-03-05 22:11:20 -08:00
Takashi Kokubun
4fe5efbf7f Implement asm comments 2023-03-05 22:11:20 -08:00
Takashi Kokubun
3b398513be Check interrupts on leave 2023-03-05 22:11:20 -08:00
Takashi Kokubun
25ae82b83e Skip supporting has_opt for now 2023-03-05 22:11:20 -08:00
Takashi Kokubun
d46cc2c104 Remove <main> specialization 2023-03-05 22:11:20 -08:00
Takashi Kokubun
5db2ef5e14 Define constants for magic registers 2023-03-05 22:11:20 -08:00
Takashi Kokubun
23a58105ee Implement callee-saved registers 2023-03-05 22:11:20 -08:00
Takashi Kokubun
71595a37ba Consider stack_size on side exits 2023-03-05 22:11:20 -08:00
Takashi Kokubun
bee5af407d Rename InsnCompiler to Codegen
because I'm not gonna limit this to insns anymore.
2023-03-05 22:11:20 -08:00
Takashi Kokubun
b99d62bf92 Implement initial side exit 2023-03-05 22:11:20 -08:00
Takashi Kokubun
dfa19a1658 Properly return a value from the stack as well 2023-03-05 22:11:20 -08:00
Takashi Kokubun
145c937f3f Compile putnil properly 2023-03-05 22:11:20 -08:00
Takashi Kokubun
e60fc8c2ff Encode add insn properly 2023-03-05 22:11:20 -08:00
Takashi Kokubun
396d575451 Implement mov encoding properly 2023-03-05 22:11:20 -08:00
Takashi Kokubun
2700d35b7b Split responsibilities differently 2023-03-05 22:11:20 -08:00
Takashi Kokubun
d9c2eb6f42 Move modules around 2023-03-05 22:11:20 -08:00
Takashi Kokubun
6fc336fedc Compile a real return value 2023-03-05 22:11:20 -08:00
Takashi Kokubun
3fa4d41460 Implement --mjit-dump-disasm 2023-03-05 22:11:20 -08:00
Takashi Kokubun
fd04e1b4db Implement a no-op JIT compiler 2023-03-05 22:11:20 -08:00
Takashi Kokubun
baa120ee80 Prepare a JIT buffer 2023-03-05 22:11:20 -08:00
Takashi Kokubun
9c2f612017 Prepare for compiling an ISEQ 2023-03-05 22:11:20 -08:00
tomoya ishida
0463c5806a [ruby/irb] Improve method completion for string and regexp that
includes word break characters
(https://github.com/ruby/irb/pull/523)

* Improve method completion for string and regexp that includes word break characters

* Remove completion-test's assert_not_include because candidates no longer include every possible methods

* Add comment about string's method completion regexp

Co-authored-by: Stan Lo <stan001212@gmail.com>

* Add comment about regexp's method completion regexp

Co-authored-by: Stan Lo <stan001212@gmail.com>

---------

aa8128c533

Co-authored-by: Stan Lo <stan001212@gmail.com>
2023-03-06 05:52:46 +00:00
Hiroshi SHIBATA
62e2b61607
Replaced non-ascii charactor. It fails version detection at net-http.gemspec.
>#   Returns the X509 certificate chain for the session<E2><80><99>s socket peer.
2023-03-06 14:50:53 +09:00
Hiroshi SHIBATA
f70b46dbc7
More debug for 75829f4d37 2023-03-06 13:01:54 +09:00
Hiroshi SHIBATA
75829f4d37
Added debug message for 20230306T023004Z.fail.html.gz#dist 2023-03-06 12:45:05 +09:00
Hiroshi SHIBATA
0c9a2ce6e0 [rubygems/rubygems] Build default gems same as fresh installtion.
Current implementation tried to build installation artifact. But default gems
  didn't provide normal gem files. So, It's always build failure.

  7432842788

    ERROR:  Error installing pkg/bigdecimal-3.1.4.gem:
    ERROR: Failed to build gem native extension.

    No such file or directory @ dir_s_mkdir - /Users/runner/.rubies/ruby-head/lib/ruby/gems/3.3.0+0/gems/bigdecimal-3.1.4/ext/bigdecimal/.gem.20230225-2301-2mul99

    Gem files will remain installed in /Users/runner/.rubies/ruby-head/lib/ruby/gems/3.3.0+0/gems/bigdecimal-3.1.4 for inspection.
    Results logged to /Users/runner/.rubies/ruby-head/lib/ruby/gems/3.3.0+0/extensions/x86_64-darwin-19/3.3.0+0/bigdecimal-3.1.4/gem_make.out

2157aa8ec8
2023-03-05 23:52:28 +00:00
Hiroshi SHIBATA
bab809d98f [rubygems/rubygems] Introduce Gem::Specification.find_by_full_name for finding conbination of name and version for gemspec
0430551215
2023-03-05 23:52:28 +00:00
Aaron Patterson
fc5482d088
Expose the address of MJIT Pointers (#7446)
This way we can manually dereference pointers with Fiddle
2023-03-05 13:00:34 -08:00
Burdette Lamar
1b4c1492c1 [ruby/net-http] [DOC] What's Here for Net:HTTP
(https://github.com/ruby/net-http/pull/128)

39e70f0f9b
2023-03-05 19:06:37 +00:00