OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 __ j(parity_odd, &Ljcc); | 319 __ j(parity_odd, &Ljcc); |
320 __ j(less, &Ljcc); | 320 __ j(less, &Ljcc); |
321 __ j(greater_equal, &Ljcc); | 321 __ j(greater_equal, &Ljcc); |
322 __ j(less_equal, &Ljcc); | 322 __ j(less_equal, &Ljcc); |
323 __ j(greater, &Ljcc); | 323 __ j(greater, &Ljcc); |
324 | 324 |
325 // checking hints | 325 // checking hints |
326 __ j(zero, &Ljcc, taken); | 326 __ j(zero, &Ljcc, taken); |
327 __ j(zero, &Ljcc, not_taken); | 327 __ j(zero, &Ljcc, not_taken); |
328 | 328 |
329 // __ mov(Operand::StaticVariable(Top::handler_address()), eax); | 329 // __ mov(Operand::StaticVariable(Isolate::handler_address()), eax); |
330 // 0xD9 instructions | 330 // 0xD9 instructions |
331 __ nop(); | 331 __ nop(); |
332 | 332 |
333 __ fld1(); | 333 __ fld1(); |
334 __ fldz(); | 334 __ fldz(); |
335 __ fabs(); | 335 __ fabs(); |
336 __ fchs(); | 336 __ fchs(); |
337 __ fprem(); | 337 __ fprem(); |
338 __ fprem1(); | 338 __ fprem1(); |
339 __ fincstp(); | 339 __ fincstp(); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 CHECK(code->IsCode()); | 419 CHECK(code->IsCode()); |
420 #ifdef DEBUG | 420 #ifdef DEBUG |
421 Code::cast(code)->Print(); | 421 Code::cast(code)->Print(); |
422 byte* begin = Code::cast(code)->instruction_start(); | 422 byte* begin = Code::cast(code)->instruction_start(); |
423 byte* end = begin + Code::cast(code)->instruction_size(); | 423 byte* end = begin + Code::cast(code)->instruction_size(); |
424 disasm::Disassembler::Disassemble(stdout, begin, end); | 424 disasm::Disassembler::Disassemble(stdout, begin, end); |
425 #endif | 425 #endif |
426 } | 426 } |
427 | 427 |
428 #undef __ | 428 #undef __ |
OLD | NEW |