Chromium Code Reviews| 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 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1320 Label* gc_required, | 1320 Label* gc_required, |
| 1321 Label* miss, | 1321 Label* miss, |
| 1322 Token::Value op, | 1322 Token::Value op, |
| 1323 OverwriteMode mode) { | 1323 OverwriteMode mode) { |
| 1324 ASM_LOCATION("BinaryOpStub_GenerateFPOperation"); | 1324 ASM_LOCATION("BinaryOpStub_GenerateFPOperation"); |
| 1325 | 1325 |
| 1326 Register result = x0; | 1326 Register result = x0; |
| 1327 FPRegister result_d = d0; | 1327 FPRegister result_d = d0; |
| 1328 Register right = x0; | 1328 Register right = x0; |
| 1329 Register left = x1; | 1329 Register left = x1; |
| 1330 Register heap_result = x19; | 1330 Register heap_result = x21; |
|
jochen (gone - plz use gerrit)
2014/01/31 13:42:29
hum, it's a callee preserved reg either way, so pr
| |
| 1331 | 1331 |
| 1332 ASSERT(smi_operands || (not_numbers != NULL)); | 1332 ASSERT(smi_operands || (not_numbers != NULL)); |
| 1333 if (smi_operands) { | 1333 if (smi_operands) { |
| 1334 __ AssertSmi(left); | 1334 __ AssertSmi(left); |
| 1335 __ AssertSmi(right); | 1335 __ AssertSmi(right); |
| 1336 } | 1336 } |
| 1337 if (left_type == BinaryOpIC::SMI) { | 1337 if (left_type == BinaryOpIC::SMI) { |
| 1338 __ JumpIfNotSmi(left, miss); | 1338 __ JumpIfNotSmi(left, miss); |
| 1339 } | 1339 } |
| 1340 if (right_type == BinaryOpIC::SMI) { | 1340 if (right_type == BinaryOpIC::SMI) { |
| (...skipping 5730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7071 __ Bind(&fast_elements_case); | 7071 __ Bind(&fast_elements_case); |
| 7072 GenerateCase(masm, FAST_ELEMENTS); | 7072 GenerateCase(masm, FAST_ELEMENTS); |
| 7073 } | 7073 } |
| 7074 | 7074 |
| 7075 | 7075 |
| 7076 #undef __ | 7076 #undef __ |
| 7077 | 7077 |
| 7078 } } // namespace v8::internal | 7078 } } // namespace v8::internal |
| 7079 | 7079 |
| 7080 #endif // V8_TARGET_ARCH_A64 | 7080 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |