| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1190 | 1190 |
| 1191 CodeDesc desc; | 1191 CodeDesc desc; |
| 1192 assm.GetCode(&desc); | 1192 assm.GetCode(&desc); |
| 1193 Handle<Code> code = isolate->factory()->NewCode( | 1193 Handle<Code> code = isolate->factory()->NewCode( |
| 1194 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); | 1194 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); |
| 1195 #ifdef DEBUG | 1195 #ifdef DEBUG |
| 1196 OFStream os(stdout); | 1196 OFStream os(stdout); |
| 1197 code->Print(os); | 1197 code->Print(os); |
| 1198 #endif | 1198 #endif |
| 1199 F3 f = FUNCTION_CAST<F3>(code->entry()); | 1199 F3 f = FUNCTION_CAST<F3>(code->entry()); |
| 1200 t.left = bit_cast<double>(kHoleNanInt64); | 1200 t.left = kHoleNanDouble; |
| 1201 t.right = 1; | 1201 t.right = 1; |
| 1202 t.add_result = 0; | 1202 t.add_result = 0; |
| 1203 t.sub_result = 0; | 1203 t.sub_result = 0; |
| 1204 t.mul_result = 0; | 1204 t.mul_result = 0; |
| 1205 t.div_result = 0; | 1205 t.div_result = 0; |
| 1206 Object* dummy = CALL_GENERATED_CODE(isolate, f, &t, 0, 0, 0, 0); | 1206 Object* dummy = CALL_GENERATED_CODE(isolate, f, &t, 0, 0, 0, 0); |
| 1207 USE(dummy); | 1207 USE(dummy); |
| 1208 const uint32_t kArmNanUpper32 = 0x7ff80000; | 1208 const uint32_t kArmNanUpper32 = 0x7ff80000; |
| 1209 const uint32_t kArmNanLower32 = 0x00000000; | 1209 const uint32_t kArmNanLower32 = 0x00000000; |
| 1210 #ifdef DEBUG | 1210 #ifdef DEBUG |
| (...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2546 HandleScope scope(isolate); | 2546 HandleScope scope(isolate); |
| 2547 | 2547 |
| 2548 Assembler assm(isolate, NULL, 0); | 2548 Assembler assm(isolate, NULL, 0); |
| 2549 __ mov(r0, Operand(isolate->factory()->infinity_value())); | 2549 __ mov(r0, Operand(isolate->factory()->infinity_value())); |
| 2550 __ BlockConstPoolFor(1019); | 2550 __ BlockConstPoolFor(1019); |
| 2551 for (int i = 0; i < 1019; ++i) __ nop(); | 2551 for (int i = 0; i < 1019; ++i) __ nop(); |
| 2552 __ vldr(d0, MemOperand(r0, 0)); | 2552 __ vldr(d0, MemOperand(r0, 0)); |
| 2553 } | 2553 } |
| 2554 | 2554 |
| 2555 #undef __ | 2555 #undef __ |
| OLD | NEW |