| changeset 4 | 633176823669 |
| parent 0 | c455ebb9a5dc |
| child 28 | a9665857cfd5 |
1.1 --- a/jitcraft/Opcodes.h Tue Jun 26 00:58:55 2012 -0700 1.2 +++ b/jitcraft/Opcodes.h Wed Jun 27 02:21:56 2012 -0700 1.3 @@ -80,6 +80,11 @@ 1.4 { 1.5 return *reinterpret_cast<unsigned *>(pc + 1); 1.6 } 1.7 +static inline float 1.8 +READ_FLOAT(bytecode *pc) 1.9 +{ 1.10 + return *reinterpret_cast<float *>(pc + 1); 1.11 +} 1.12 1.13 class Code; 1.14