OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 break; | 641 break; |
642 case JS_SETTER: | 642 case JS_SETTER: |
643 DCHECK(translation_size == 2); | 643 DCHECK(translation_size == 2); |
644 DCHECK(height == 0); | 644 DCHECK(height == 0); |
645 translation->BeginSetterStubFrame(closure_id); | 645 translation->BeginSetterStubFrame(closure_id); |
646 break; | 646 break; |
647 case ARGUMENTS_ADAPTOR: | 647 case ARGUMENTS_ADAPTOR: |
648 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 648 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
649 break; | 649 break; |
650 case STUB: | 650 case STUB: |
651 translation->BeginCompiledStubFrame(); | 651 translation->BeginCompiledStubFrame(translation_size); |
652 break; | 652 break; |
653 default: | 653 default: |
654 UNREACHABLE(); | 654 UNREACHABLE(); |
655 } | 655 } |
656 | 656 |
657 int object_index = 0; | 657 int object_index = 0; |
658 int dematerialized_index = 0; | 658 int dematerialized_index = 0; |
659 for (int i = 0; i < translation_size; ++i) { | 659 for (int i = 0; i < translation_size; ++i) { |
660 LOperand* value = environment->values()->at(i); | 660 LOperand* value = environment->values()->at(i); |
661 AddToTranslation(environment, | 661 AddToTranslation(environment, |
(...skipping 5171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5833 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5833 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5834 } | 5834 } |
5835 | 5835 |
5836 | 5836 |
5837 #undef __ | 5837 #undef __ |
5838 | 5838 |
5839 } // namespace internal | 5839 } // namespace internal |
5840 } // namespace v8 | 5840 } // namespace v8 |
5841 | 5841 |
5842 #endif // V8_TARGET_ARCH_IA32 | 5842 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |