| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 6198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6209 // now identical. When LAZY is eventually completely folded into EAGER, remove | 6209 // now identical. When LAZY is eventually completely folded into EAGER, remove |
| 6210 // the special case below. | 6210 // the special case below. |
| 6211 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 6211 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
| 6212 type = Deoptimizer::LAZY; | 6212 type = Deoptimizer::LAZY; |
| 6213 } | 6213 } |
| 6214 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 6214 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
| 6215 DeoptimizeIf(no_condition, instr->environment(), type); | 6215 DeoptimizeIf(no_condition, instr->environment(), type); |
| 6216 } | 6216 } |
| 6217 | 6217 |
| 6218 | 6218 |
| 6219 void LCodeGen::DoDummy(LDummy* instr) { |
| 6220 // Nothing to see here, move on! |
| 6221 } |
| 6222 |
| 6223 |
| 6219 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 6224 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 6220 // Nothing to see here, move on! | 6225 // Nothing to see here, move on! |
| 6221 } | 6226 } |
| 6222 | 6227 |
| 6223 | 6228 |
| 6224 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 6229 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
| 6225 PushSafepointRegistersScope scope(this); | 6230 PushSafepointRegistersScope scope(this); |
| 6226 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); | 6231 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
| 6227 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 6232 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
| 6228 RecordSafepointWithLazyDeopt( | 6233 RecordSafepointWithLazyDeopt( |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6389 FixedArray::kHeaderSize - kPointerSize)); | 6394 FixedArray::kHeaderSize - kPointerSize)); |
| 6390 __ bind(&done); | 6395 __ bind(&done); |
| 6391 } | 6396 } |
| 6392 | 6397 |
| 6393 | 6398 |
| 6394 #undef __ | 6399 #undef __ |
| 6395 | 6400 |
| 6396 } } // namespace v8::internal | 6401 } } // namespace v8::internal |
| 6397 | 6402 |
| 6398 #endif // V8_TARGET_ARCH_IA32 | 6403 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |