| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 TranscendentalCacheStub::TAGGED); | 922 TranscendentalCacheStub::TAGGED); |
| 923 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 923 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
| 924 break; | 924 break; |
| 925 } | 925 } |
| 926 default: | 926 default: |
| 927 UNREACHABLE(); | 927 UNREACHABLE(); |
| 928 } | 928 } |
| 929 } | 929 } |
| 930 | 930 |
| 931 | 931 |
| 932 void LCodeGen::DoCallExternal(LCallExternal* instr) { |
| 933 __ CallExternalReference(instr->external_reference(), instr->arity()); |
| 934 } |
| 935 |
| 936 |
| 932 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { | 937 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { |
| 933 GenerateOsrPrologue(); | 938 GenerateOsrPrologue(); |
| 934 } | 939 } |
| 935 | 940 |
| 936 | 941 |
| 937 void LCodeGen::DoModI(LModI* instr) { | 942 void LCodeGen::DoModI(LModI* instr) { |
| 938 HMod* hmod = instr->hydrogen(); | 943 HMod* hmod = instr->hydrogen(); |
| 939 HValue* left = hmod->left(); | 944 HValue* left = hmod->left(); |
| 940 HValue* right = hmod->right(); | 945 HValue* right = hmod->right(); |
| 941 if (hmod->HasPowerOf2Divisor()) { | 946 if (hmod->HasPowerOf2Divisor()) { |
| (...skipping 4513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5455 FixedArray::kHeaderSize - kPointerSize)); | 5460 FixedArray::kHeaderSize - kPointerSize)); |
| 5456 __ bind(&done); | 5461 __ bind(&done); |
| 5457 } | 5462 } |
| 5458 | 5463 |
| 5459 | 5464 |
| 5460 #undef __ | 5465 #undef __ |
| 5461 | 5466 |
| 5462 } } // namespace v8::internal | 5467 } } // namespace v8::internal |
| 5463 | 5468 |
| 5464 #endif // V8_TARGET_ARCH_X64 | 5469 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |