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 6256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6267 // now identical. When LAZY is eventually completely folded into EAGER, remove | 6267 // now identical. When LAZY is eventually completely folded into EAGER, remove |
6268 // the special case below. | 6268 // the special case below. |
6269 if (info()->IsStub() && type == Deoptimizer::EAGER) { | 6269 if (info()->IsStub() && type == Deoptimizer::EAGER) { |
6270 type = Deoptimizer::LAZY; | 6270 type = Deoptimizer::LAZY; |
6271 } | 6271 } |
6272 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); | 6272 Comment(";;; deoptimize: %s", instr->hydrogen()->reason()); |
6273 DeoptimizeIf(no_condition, instr->environment(), type); | 6273 DeoptimizeIf(no_condition, instr->environment(), type); |
6274 } | 6274 } |
6275 | 6275 |
6276 | 6276 |
| 6277 void LCodeGen::DoDummy(LDummy* instr) { |
| 6278 // Nothing to see here, move on! |
| 6279 } |
| 6280 |
| 6281 |
6277 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 6282 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
6278 // Nothing to see here, move on! | 6283 // Nothing to see here, move on! |
6279 } | 6284 } |
6280 | 6285 |
6281 | 6286 |
6282 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { | 6287 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
6283 PushSafepointRegistersScope scope(this); | 6288 PushSafepointRegistersScope scope(this); |
6284 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); | 6289 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
6285 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); | 6290 __ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
6286 RecordSafepointWithLazyDeopt( | 6291 RecordSafepointWithLazyDeopt( |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6447 FixedArray::kHeaderSize - kPointerSize)); | 6452 FixedArray::kHeaderSize - kPointerSize)); |
6448 __ bind(&done); | 6453 __ bind(&done); |
6449 } | 6454 } |
6450 | 6455 |
6451 | 6456 |
6452 #undef __ | 6457 #undef __ |
6453 | 6458 |
6454 } } // namespace v8::internal | 6459 } } // namespace v8::internal |
6455 | 6460 |
6456 #endif // V8_TARGET_ARCH_IA32 | 6461 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |