changeset 16:bea98599d11f

fix typo
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 14 Feb 2016 20:07:43 +0900
parents 57b390dce7df
children 3afb4bfe1100
files slide/blank.html
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/slide/blank.html	Sun Feb 14 19:07:10 2016 +0900
+++ b/slide/blank.html	Sun Feb 14 20:07:43 2016 +0900
@@ -417,7 +417,7 @@
 }
 
 int funcB(){
-  goto cs(__ret, __env);
+  goto cs(__return, __environment);
   /* never reached */
   return -1;
 }
@@ -443,10 +443,10 @@
       </div>
 
       <div class='slide'>
-        <h2>環境付き継続実装の問題</h2>
+        <h2>LLVM Clang 上での環境付き継続実装の問題</h2>
         <ul>
           <li>__return として利用する code segment の名前が一意にならなければならない.
-          <li>継続前の C の関数の方に応じて返す値の型を変化させなければならない.
+          <li>継続前の C の関数の型に応じて返す値の型を変化させなければならない.
         </ul>
       </div>
 
@@ -480,7 +480,7 @@
               </ul>
             <td style="border: double;">
               <pre class='small_code'><div class='highlight'>
-#include <setjmp.h>
+#include &lt;setjmp.h&gt
 
 struct CbC_env {
   void *ret_p,*env;
@@ -490,7 +490,7 @@
   goto ret(n, env);
 }
 
-__code func..ret (int retval, void* env){
+__code func..ret0 (int retval, void* env){
   *(int*)((struct CbC_env *)(env))->ret_p = retcal;
   __builtin_longjmp((int*)(((struct CbC_env *)env)->env),1);
 }
@@ -502,7 +502,7 @@
   int retval;
   __environment.ret_p = &retval;
   __environment.env = &env;
-  __return = func..ret;
+  __return = func..ret0;
     if (__builtin_setjmp(__environment.env)){
       return retval;
     }