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 4293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4304 } else { | 4304 } else { |
4305 UNREACHABLE(); | 4305 UNREACHABLE(); |
4306 } | 4306 } |
4307 __ bind(¬_applicable); | 4307 __ bind(¬_applicable); |
4308 } | 4308 } |
4309 | 4309 |
4310 | 4310 |
4311 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { | 4311 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { |
4312 Register object = ToRegister(instr->object()); | 4312 Register object = ToRegister(instr->object()); |
4313 Register temp = ToRegister(instr->temp()); | 4313 Register temp = ToRegister(instr->temp()); |
4314 __ TestJSArrayForAllocationSiteInfo(object, temp); | 4314 __ TestJSArrayForAllocationMemento(object, temp); |
4315 DeoptimizeIf(equal, instr->environment()); | 4315 DeoptimizeIf(equal, instr->environment()); |
4316 } | 4316 } |
4317 | 4317 |
4318 | 4318 |
4319 void LCodeGen::DoStringAdd(LStringAdd* instr) { | 4319 void LCodeGen::DoStringAdd(LStringAdd* instr) { |
4320 EmitPushTaggedOperand(instr->left()); | 4320 EmitPushTaggedOperand(instr->left()); |
4321 EmitPushTaggedOperand(instr->right()); | 4321 EmitPushTaggedOperand(instr->right()); |
4322 StringAddStub stub(instr->hydrogen()->flags()); | 4322 StringAddStub stub(instr->hydrogen()->flags()); |
4323 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 4323 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
4324 } | 4324 } |
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5521 FixedArray::kHeaderSize - kPointerSize)); | 5521 FixedArray::kHeaderSize - kPointerSize)); |
5522 __ bind(&done); | 5522 __ bind(&done); |
5523 } | 5523 } |
5524 | 5524 |
5525 | 5525 |
5526 #undef __ | 5526 #undef __ |
5527 | 5527 |
5528 } } // namespace v8::internal | 5528 } } // namespace v8::internal |
5529 | 5529 |
5530 #endif // V8_TARGET_ARCH_X64 | 5530 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |