| 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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1382 } | 1382 } |
| 1383 __ bind(&runtime); | 1383 __ bind(&runtime); |
| 1384 __ PrepareCallCFunction(2, scratch); | 1384 __ PrepareCallCFunction(2, scratch); |
| 1385 __ li(a1, Operand(index)); | 1385 __ li(a1, Operand(index)); |
| 1386 __ CallCFunction(ExternalReference::get_date_field_function(isolate()), 2); | 1386 __ CallCFunction(ExternalReference::get_date_field_function(isolate()), 2); |
| 1387 __ bind(&done); | 1387 __ bind(&done); |
| 1388 } | 1388 } |
| 1389 } | 1389 } |
| 1390 | 1390 |
| 1391 | 1391 |
| 1392 void LCodeGen::DoSeqStringSetChar(LSeqStringSetChar* instr) { |
| 1393 SeqStringSetCharGenerator::Generate(masm(), |
| 1394 instr->encoding(), |
| 1395 ToRegister(instr->string()), |
| 1396 ToRegister(instr->index()), |
| 1397 ToRegister(instr->value())); |
| 1398 } |
| 1399 |
| 1400 |
| 1392 void LCodeGen::DoBitNotI(LBitNotI* instr) { | 1401 void LCodeGen::DoBitNotI(LBitNotI* instr) { |
| 1393 Register input = ToRegister(instr->value()); | 1402 Register input = ToRegister(instr->value()); |
| 1394 Register result = ToRegister(instr->result()); | 1403 Register result = ToRegister(instr->result()); |
| 1395 __ Nor(result, zero_reg, Operand(input)); | 1404 __ Nor(result, zero_reg, Operand(input)); |
| 1396 } | 1405 } |
| 1397 | 1406 |
| 1398 | 1407 |
| 1399 void LCodeGen::DoThrow(LThrow* instr) { | 1408 void LCodeGen::DoThrow(LThrow* instr) { |
| 1400 Register input_reg = EmitLoadRegister(instr->value(), at); | 1409 Register input_reg = EmitLoadRegister(instr->value(), at); |
| 1401 __ push(input_reg); | 1410 __ push(input_reg); |
| (...skipping 4110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5512 __ Subu(scratch, result, scratch); | 5521 __ Subu(scratch, result, scratch); |
| 5513 __ lw(result, FieldMemOperand(scratch, | 5522 __ lw(result, FieldMemOperand(scratch, |
| 5514 FixedArray::kHeaderSize - kPointerSize)); | 5523 FixedArray::kHeaderSize - kPointerSize)); |
| 5515 __ bind(&done); | 5524 __ bind(&done); |
| 5516 } | 5525 } |
| 5517 | 5526 |
| 5518 | 5527 |
| 5519 #undef __ | 5528 #undef __ |
| 5520 | 5529 |
| 5521 } } // namespace v8::internal | 5530 } } // namespace v8::internal |
| OLD | NEW |