Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Problem inlining nested calls to same function
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nikodemus Siivola  
View profile  
 More options May 4 2008, 7:12 pm
From: "Nikodemus Siivola" <nikode...@random-state.net>
Date: Sun, 4 May 2008 19:12:59 -0400
Local: Sun, May 4 2008 7:12 pm
Subject: [Sbcl-devel] Problem inlining nested calls to same function
(declaim (inline foo))
(defun foo (x y)
  (cons x y))

(defun bar (x)
  (foo (foo x x) (foo x x)))

(disassemble 'bar)

Disassembly shows a full call to FOO. I'm not yet sure why one call
doesn't get converted properly, so if someone has insights to offer,
they are very welcome. This doesn't seem to be a new bug, but
something coming all the way from CMUCL heritage.

Cheers,

 -- Nikodemus

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.co...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.