From 1aa408971f36db70447c816a805ca97fc10a4b46 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 10 Jan 2012 07:13:04 +0000 Subject: [PATCH] * test/ruby/test_enumerator.rb (test_nested_iteration): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_enumerator.rb | 2 +- vm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ruby/test_enumerator.rb b/test/ruby/test_enumerator.rb index 0ee33ca6f1..10ba2f184e 100644 --- a/test/ruby/test_enumerator.rb +++ b/test/ruby/test_enumerator.rb @@ -43,7 +43,7 @@ class TestEnumerator < Test::Unit::TestCase } end - def test_nested_itaration + def test_nested_iteration def (o = Object.new).each yield :ok1 yield [:ok2, :x].each.next diff --git a/vm.c b/vm.c index 71d282d579..2cc8c5aaba 100644 --- a/vm.c +++ b/vm.c @@ -1216,7 +1216,7 @@ vm_exec(rb_thread_t *th) vm_loop_start: result = vm_exec_core(th, initial); if ((state = th->state) != 0) { -#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_itaration */ +#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_iteration */ (void)__extension__({rb_thread_t t = *th; t;}); #endif err = result;