From 83332a9c1eb62690bedd882e955460a45509a0c8 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 25 Jun 2007 11:19:11 +0000 Subject: fix indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gc.c b/gc.c index 83e04b2a5..10cb5c6a3 100644 --- a/gc.c +++ b/gc.c @@ -439,9 +439,9 @@ add_heap(void) } heaps[heaps_used].membase = p; if ((VALUE)p % sizeof(RVALUE) == 0) - heap_slots += 1; + heap_slots += 1; else - p = (RVALUE*)((VALUE)p + sizeof(RVALUE) - ((VALUE)p % sizeof(RVALUE))); + p = (RVALUE*)((VALUE)p + sizeof(RVALUE) - ((VALUE)p % sizeof(RVALUE))); heaps[heaps_used].slot = p; heaps[heaps_used].limit = heap_slots; break; @@ -707,7 +707,7 @@ is_pointer_to_heap(void *ptr) for (i=0; i < heaps_used; i++) { heap_org = heaps[i].slot; if (heap_org <= p && p < heap_org + heaps[i].limit) - return Qtrue; + return Qtrue; } return Qfalse; } @@ -2008,7 +2008,7 @@ id2ref(VALUE obj, VALUE objid) if ((ptr % sizeof(RVALUE)) == (4 << 2)) { ID symid = ptr / sizeof(RVALUE); if (rb_id2name(symid) == 0) - rb_raise(rb_eRangeError, "%p is not symbol id value", p0); + rb_raise(rb_eRangeError, "%p is not symbol id value", p0); return ID2SYM(symid); } -- cgit