| 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 ASSERT(info()->IsOptimizing() || info()->IsStub()); | 680 ASSERT(info()->IsOptimizing() || info()->IsStub()); |
| 681 Address entry = | 681 Address entry = |
| 682 Deoptimizer::GetDeoptimizationEntry(isolate(), id, bailout_type); | 682 Deoptimizer::GetDeoptimizationEntry(isolate(), id, bailout_type); |
| 683 if (entry == NULL) { | 683 if (entry == NULL) { |
| 684 Abort(kBailoutWasNotPrepared); | 684 Abort(kBailoutWasNotPrepared); |
| 685 return; | 685 return; |
| 686 } | 686 } |
| 687 | 687 |
| 688 ASSERT(FLAG_deopt_every_n_times == 0); // Not yet implemented on x64. | 688 ASSERT(FLAG_deopt_every_n_times == 0); // Not yet implemented on x64. |
| 689 | 689 |
| 690 if (FLAG_trap_on_deopt && info()->IsOptimizing()) { | 690 if (info()->ShouldTrapOnDeopt()) { |
| 691 Label done; | 691 Label done; |
| 692 if (cc != no_condition) { | 692 if (cc != no_condition) { |
| 693 __ j(NegateCondition(cc), &done, Label::kNear); | 693 __ j(NegateCondition(cc), &done, Label::kNear); |
| 694 } | 694 } |
| 695 __ int3(); | 695 __ int3(); |
| 696 __ bind(&done); | 696 __ bind(&done); |
| 697 } | 697 } |
| 698 | 698 |
| 699 ASSERT(info()->IsStub() || frame_is_built_); | 699 ASSERT(info()->IsStub() || frame_is_built_); |
| 700 if (cc == no_condition && frame_is_built_) { | 700 if (cc == no_condition && frame_is_built_) { |
| (...skipping 4916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5617 FixedArray::kHeaderSize - kPointerSize)); | 5617 FixedArray::kHeaderSize - kPointerSize)); |
| 5618 __ bind(&done); | 5618 __ bind(&done); |
| 5619 } | 5619 } |
| 5620 | 5620 |
| 5621 | 5621 |
| 5622 #undef __ | 5622 #undef __ |
| 5623 | 5623 |
| 5624 } } // namespace v8::internal | 5624 } } // namespace v8::internal |
| 5625 | 5625 |
| 5626 #endif // V8_TARGET_ARCH_X64 | 5626 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |