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_X87 | 7 #if V8_TARGET_ARCH_X87 |
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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 break; | 907 break; |
908 case JS_SETTER: | 908 case JS_SETTER: |
909 DCHECK(translation_size == 2); | 909 DCHECK(translation_size == 2); |
910 DCHECK(height == 0); | 910 DCHECK(height == 0); |
911 translation->BeginSetterStubFrame(closure_id); | 911 translation->BeginSetterStubFrame(closure_id); |
912 break; | 912 break; |
913 case ARGUMENTS_ADAPTOR: | 913 case ARGUMENTS_ADAPTOR: |
914 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 914 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
915 break; | 915 break; |
916 case STUB: | 916 case STUB: |
917 translation->BeginCompiledStubFrame(translation_size); | 917 translation->BeginCompiledStubFrame(); |
918 break; | 918 break; |
919 default: | 919 default: |
920 UNREACHABLE(); | 920 UNREACHABLE(); |
921 } | 921 } |
922 | 922 |
923 int object_index = 0; | 923 int object_index = 0; |
924 int dematerialized_index = 0; | 924 int dematerialized_index = 0; |
925 for (int i = 0; i < translation_size; ++i) { | 925 for (int i = 0; i < translation_size; ++i) { |
926 LOperand* value = environment->values()->at(i); | 926 LOperand* value = environment->values()->at(i); |
927 AddToTranslation(environment, | 927 AddToTranslation(environment, |
(...skipping 5515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6443 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6443 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6444 } | 6444 } |
6445 | 6445 |
6446 | 6446 |
6447 #undef __ | 6447 #undef __ |
6448 | 6448 |
6449 } // namespace internal | 6449 } // namespace internal |
6450 } // namespace v8 | 6450 } // namespace v8 |
6451 | 6451 |
6452 #endif // V8_TARGET_ARCH_X87 | 6452 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |