| 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 5286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5297 // the special case below. | 5297 // the special case below. |
| 5298 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 5298 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
| 5299 type = Deoptimizer::LAZY; | 5299 type = Deoptimizer::LAZY; |
| 5300 } | 5300 } |
| 5301 | 5301 |
| 5302 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 5302 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
| 5303 DeoptimizeIf(no_condition, instr->environment(), type); | 5303 DeoptimizeIf(no_condition, instr->environment(), type); |
| 5304 } | 5304 } |
| 5305 | 5305 |
| 5306 | 5306 |
| 5307 void LCodeGen::DoDummy(LDummy* instr) { |
| 5308 // Nothing to see here, move on! |
| 5309 } |
| 5310 |
| 5311 |
| 5307 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 5312 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 5308 // Nothing to see here, move on! | 5313 // Nothing to see here, move on! |
| 5309 } | 5314 } |
| 5310 | 5315 |
| 5311 | 5316 |
| 5312 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 5317 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
| 5313 PushSafepointRegistersScope scope(this); | 5318 PushSafepointRegistersScope scope(this); |
| 5314 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); | 5319 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
| 5315 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 5320 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
| 5316 RecordSafepointWithLazyDeopt(instr, RECORD_SAFEPOINT_WITH_REGISTERS, 0); | 5321 RecordSafepointWithLazyDeopt(instr, RECORD_SAFEPOINT_WITH_REGISTERS, 0); |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5471 FixedArray::kHeaderSize - kPointerSize)); | 5476 FixedArray::kHeaderSize - kPointerSize)); |
| 5472 __ bind(&done); | 5477 __ bind(&done); |
| 5473 } | 5478 } |
| 5474 | 5479 |
| 5475 | 5480 |
| 5476 #undef __ | 5481 #undef __ |
| 5477 | 5482 |
| 5478 } } // namespace v8::internal | 5483 } } // namespace v8::internal |
| 5479 | 5484 |
| 5480 #endif // V8_TARGET_ARCH_X64 | 5485 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |