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 5361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5372 // the special case below. | 5372 // the special case below. |
5373 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5373 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
5374 type = Deoptimizer::LAZY; | 5374 type = Deoptimizer::LAZY; |
5375 } | 5375 } |
5376 | 5376 |
5377 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5377 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
5378 DeoptimizeIf(no_condition, instr->environment(), type); | 5378 DeoptimizeIf(no_condition, instr->environment(), type); |
5379 } | 5379 } |
5380 | 5380 |
5381 | 5381 |
| 5382 void LCodeGen::DoDummy(LDummy* instr) { |
| 5383 // Nothing to see here, move on! |
| 5384 } |
| 5385 |
| 5386 |
5382 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5387 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
5383 // Nothing to see here, move on! | 5388 // Nothing to see here, move on! |
5384 } | 5389 } |
5385 | 5390 |
5386 | 5391 |
5387 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5392 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
5388 PushSafepointRegistersScope scope(this); | 5393 PushSafepointRegistersScope scope(this); |
5389 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); | 5394 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
5390 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5395 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
5391 RecordSafepointWithLazyDeopt(instr, RECORD_SAFEPOINT_WITH_REGISTERS, 0); | 5396 RecordSafepointWithLazyDeopt(instr, RECORD_SAFEPOINT_WITH_REGISTERS, 0); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5546 FixedArray::kHeaderSize - kPointerSize)); | 5551 FixedArray::kHeaderSize - kPointerSize)); |
5547 __ bind(&done); | 5552 __ bind(&done); |
5548 } | 5553 } |
5549 | 5554 |
5550 | 5555 |
5551 #undef __ | 5556 #undef __ |
5552 | 5557 |
5553 } } // namespace v8::internal | 5558 } } // namespace v8::internal |
5554 | 5559 |
5555 #endif // V8_TARGET_ARCH_X64 | 5560 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |