Commit Graph

1139 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 8e86ff2283 Merge pull request #755 from masuidrive/imprive_build_scripts
Improved build scripts and config files
2013-01-20 14:41:50 -08:00
Yukihiro "Matz" Matsumoto cc16bd7c0d Merge pull request #754 from masamitsu-murase/modify_undef_node
Modify handling of NODE_UNDEF.
2013-01-20 14:32:40 -08:00
Yukihiro "Matz" Matsumoto aaf5f3a0f5 Merge pull request #753 from masamitsu-murase/modify_handling_of_quoted_string_literal
Modify handling of quoted non-expanded string literal
2013-01-20 14:32:05 -08:00
Yukihiro "Matz" Matsumoto ebdb8e985d Merge pull request #749 from masamitsu-murase/modify_handling_of_bodystmt
Modify handling of `bodystmt`.
2013-01-20 14:19:28 -08:00
Yuichiro MASUI ced80d2b4b Improved build scripts and config files 2013-01-20 22:48:42 +09:00
Masamitsu MURASE 7195fb8716 Modify handling of NODE_UNDEF to accept multiple arguments. 2013-01-20 17:44:28 +09:00
Masamitsu MURASE 38b32a55c6 Modify handling of Quoted non-expanded literal strings. 2013-01-20 04:58:19 +09:00
Masamitsu MURASE 0dd9a0fd6a Modify handling of OP_ENTER.
If `argc` is `-1`, `block` parameter is sometimes overwritten.
2013-01-19 23:16:03 +09:00
Masamitsu MURASE 457f4ddca5 Modify handling of bodystmt. 2013-01-19 01:49:54 +09:00
Narihiro Nakamura 7841a0cac5 Clear all old flags, even if we change the gc mode during the major gc. 2013-01-17 10:20:21 +09:00
Yukihiro "Matz" Matsumoto 4728070ec5 Merge pull request #743 from iij/pr-fix-masgn
Fix disappearance of command_call in case of statement without parentheses
2013-01-16 01:42:33 -08:00
Yukihiro "Matz" Matsumoto 016e821736 Merge pull request #739 from cremno/use-b-specifier
Use new mrb_get_args binary specifier.
2013-01-16 01:40:27 -08:00
Narihiro Nakamura 3620cc674c mrb_field_write_barrier paints also gray in the major collector.
These objects will be traversed after a minor collect cycle.
2013-01-16 16:01:40 +09:00
Takashi Sogabe f0766e3632 Fix disappearance of command_call in case of statement without parentheses. 2013-01-16 14:43:37 +09:00
Yukihiro Matz Matsumoto 98d364e4a6 Merge branch 'master' of github.com:mruby/mruby 2013-01-16 08:00:47 +09:00
Yukihiro Matz Matsumoto 81e55d9805 wrong condiiton in too many symbols check; #close #731 2013-01-16 08:00:32 +09:00
Yukihiro "Matz" Matsumoto d1656d4371 Merge pull request #732 from masamitsu-murase/remove_multiple_definition_of_RuntimeError
Remove multiple definition of RuntimeError.
2013-01-15 14:50:38 -08:00
Yukihiro "Matz" Matsumoto 709c120d14 Merge pull request #734 from monaka/pr-error-check-inprovement-in-cdump-and-dump
Error check inprovements in cdump and dump
2013-01-15 14:50:05 -08:00
Cremno 0a22c59938 use the new specifier b instead of o 2013-01-15 09:15:10 +01:00
Selman ULUG 443f207f9e silence clang warning 2013-01-15 03:08:11 +02:00
Masaki Muranaka 85bdd63465 include/mruby/cdump.h: Add new error codes.
src/cdump.h: Use error codes defined in mruby/cdump.h.
2013-01-15 09:04:51 +09:00
Masaki Muranaka 5830553054 Use MRB_DUMP_OK instead of 0. 2013-01-15 09:03:56 +09:00
Masamitsu MURASE b4255c70a1 Remove multiple definition of RuntimeError. 2013-01-14 18:26:39 +09:00
Yukihiro "Matz" Matsumoto 315ecb60cd Merge pull request #730 from masamitsu-murase/modify_range_initialize
Modify `Range#initialize`
2013-01-13 18:11:19 -08:00
Yukihiro "Matz" Matsumoto a3c3f00323 Merge pull request #729 from authorNari/unclear-black-in-major-collector
Doesn't clear black of all marked objects in the major collector.
2013-01-13 17:42:16 -08:00
Yukihiro Matz Matsumoto 90cdb90e67 change 2012 to 2013 2013-01-14 02:15:26 +09:00
Masamitsu MURASE 4bf76a67f1 Modify Range#initialize to accept optional exclusive argument. 2013-01-13 22:04:53 +09:00
Masamitsu MURASE f9b836a677 Initialize edges of RRange. 2013-01-13 22:04:45 +09:00
Narihiro Nakamura a80e9b5bc8 Doesn't clear black of all marked objects in major collections.
Since the minor collector doesn't need to mark these objects, the worst-case pause time is reduced.
2013-01-13 18:56:23 +09:00
Yukihiro Matz Matsumoto 9614f13487 more aggressive code elimination for NODE_DOT{2,3} 2013-01-13 01:07:40 +09:00
Yukihiro Matz Matsumoto a180460635 eliminate unused hash expression more aggresively 2013-01-13 00:51:44 +09:00
Yukihiro Matz Matsumoto 1bab7bc511 eliminate unused array expression more aggresively 2013-01-13 00:49:33 +09:00
Yukihiro Matz Matsumoto 0d0b1d1b0d add new specifier "b" (boolean) for mrb_get_args() 2013-01-13 00:27:08 +09:00
skandhas 15c96cf8b5 remove mrb_str_each_line form src/string.c 2013-01-11 15:38:55 +08:00
skandhas 1a528da40b add mrb_check_hash_type 2013-01-10 17:02:41 +08:00
Yukihiro "Matz" Matsumoto 4f3e217ce7 Merge pull request #713 from masuidrive/add_s_options_to_ar
Added s flag to ar command
2013-01-09 08:48:43 -08:00
Yukihiro Matz Matsumoto f134e8e1bf jump address error when value taken from if statement without else clause; close #712 2013-01-10 01:06:51 +09:00
Yuichiro MASUI 3479d8474a Added s flag to ar command 2013-01-09 20:15:49 +09:00
Masaki Muranaka 86b3200746 Fix error handlings. 2013-01-09 13:33:00 +09:00
Masaki Muranaka 81b6895885 Merge branch 'master' of github.com:mruby/mruby into pr-strict-error-checking 2013-01-09 13:29:59 +09:00
Masaki Muranaka 0b337accad Extract each expresion in "if" statements. It is for maintainability. 2013-01-09 12:19:39 +09:00
Masaki Muranaka 94fb04a51e Remove redundant null checks. 2013-01-09 11:22:39 +09:00
Yukihiro "Matz" Matsumoto bcabae43a4 Merge pull request #703 from authorNari/skip_sweeping_old
Skip sweeping old slots which don't contain any young object in the minor GC
2013-01-07 01:29:56 -08:00
Narihiro Nakamura 542eda83ab Skip sweeping old slots which don't contain any young object. 2013-01-07 16:37:32 +09:00
Masaki Muranaka 0f99322f27 gc.c: Enable DEBUG(x) if GC_DEBUG is defined.
vm.c: Enable DEBUG(x) if VM_DEBUG is defined.
2013-01-07 15:28:05 +09:00
Narihiro Nakamura 5dfefb95df Add the generational gc 2013-01-07 01:47:21 +09:00
Narihiro Nakamura 7872d2974d These places need the write barrier 2013-01-07 01:33:35 +09:00
Masamitsu MURASE d48bb813d8 unless without else should return nil if the condition is true. 2013-01-06 06:23:10 +09:00
Masamitsu MURASE 749404051c Modify NODE_IF handling.
When "unless" is used without "else", tree->cdr->car of NODE_IF is NULL.
In this case, pop() should not be called because codegen generates no code.
2013-01-06 05:08:04 +09:00
skandhas e6a5a76885 add mrb_mod_method_defined 2013-01-04 15:28:59 +08:00