[kaffe] jit3 docs

Helmer Krämer hkraemer@freenet.de
Wed Mar 12 01:37:02 2003


This is a multi-part message in MIME format.

--Multipart_Wed__12_Mar_2003_10:38:23_+0100_0953f9d8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit



Hi all,

I've attached a patch that adds some small comments
to kaffe's jit3. I'd really appreciate it if you'd
have a look at it and send some feedback (especially
those that know more about the jitter than me).

Greetings,
Helmer  
--Multipart_Wed__12_Mar_2003_10:38:23_+0100_0953f9d8
Content-Type: application/octet-stream;
 name="jitter-docs"
Content-Disposition: attachment;
 filename="jitter-docs"
Content-Transfer-Encoding: base64

SW5kZXg6IGJhc2Vjb2RlLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9rYWZmZS9rYWZmZS9r
YWZmZS9rYWZmZXZtL2ppdDMvYmFzZWNvZGUuaCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS42CmRp
ZmYgLXUgLXAgLXIxLjYgYmFzZWNvZGUuaAotLS0gYmFzZWNvZGUuaAkxMSBGZWIgMjAwMyAxNjo1
NDo0NSAtMDAwMAkxLjYKKysrIGJhc2Vjb2RlLmgJMTIgTWFyIDIwMDMgMDk6MjA6MDYgLTAwMDAK
QEAgLTkzLDcgKzkzLDEyIEBAIGVudW0gewogI2RlZmluZQltb25pdG9yX2V4aXQoKQkJbW9uX2V4
aXQoeG1ldGgsIGxvY2FsKDApKQogCiAvKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAqLwotLyogSW5zdHJ1Y3Rpb24g
Zm9ybWF0cyAqLworLyogSW5zdHJ1Y3Rpb24gZm9ybWF0cworICoKKyAqIFRoZXNlIGZ1bmN0aW9u
cyBhbmQgbWFjcm9zIHRha2UgY2FyZSBvZiBwc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