| 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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 TranscendentalCacheStub::TAGGED); | 1050 TranscendentalCacheStub::TAGGED); |
| 1051 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1051 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
| 1052 break; | 1052 break; |
| 1053 } | 1053 } |
| 1054 default: | 1054 default: |
| 1055 UNREACHABLE(); | 1055 UNREACHABLE(); |
| 1056 } | 1056 } |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 | 1059 |
| 1060 void LCodeGen::DoCallExternal(LCallExternal* instr) { |
| 1061 __ CallExternalReference( |
| 1062 instr->external_reference(), |
| 1063 instr->arity()); |
| 1064 } |
| 1065 |
| 1066 |
| 1060 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { | 1067 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { |
| 1061 GenerateOsrPrologue(); | 1068 GenerateOsrPrologue(); |
| 1062 } | 1069 } |
| 1063 | 1070 |
| 1064 | 1071 |
| 1065 void LCodeGen::DoModI(LModI* instr) { | 1072 void LCodeGen::DoModI(LModI* instr) { |
| 1066 HMod* hmod = instr->hydrogen(); | 1073 HMod* hmod = instr->hydrogen(); |
| 1067 HValue* left = hmod->left(); | 1074 HValue* left = hmod->left(); |
| 1068 HValue* right = hmod->right(); | 1075 HValue* right = hmod->right(); |
| 1069 if (hmod->HasPowerOf2Divisor()) { | 1076 if (hmod->HasPowerOf2Divisor()) { |
| (...skipping 4749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5819 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); | 5826 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); |
| 5820 __ ldr(result, FieldMemOperand(scratch, | 5827 __ ldr(result, FieldMemOperand(scratch, |
| 5821 FixedArray::kHeaderSize - kPointerSize)); | 5828 FixedArray::kHeaderSize - kPointerSize)); |
| 5822 __ bind(&done); | 5829 __ bind(&done); |
| 5823 } | 5830 } |
| 5824 | 5831 |
| 5825 | 5832 |
| 5826 #undef __ | 5833 #undef __ |
| 5827 | 5834 |
| 5828 } } // namespace v8::internal | 5835 } } // namespace v8::internal |
| OLD | NEW |