| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 break; | 561 break; |
| 562 case JS_SETTER: | 562 case JS_SETTER: |
| 563 DCHECK(translation_size == 2); | 563 DCHECK(translation_size == 2); |
| 564 DCHECK(height == 0); | 564 DCHECK(height == 0); |
| 565 translation->BeginSetterStubFrame(closure_id); | 565 translation->BeginSetterStubFrame(closure_id); |
| 566 break; | 566 break; |
| 567 case ARGUMENTS_ADAPTOR: | 567 case ARGUMENTS_ADAPTOR: |
| 568 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 568 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
| 569 break; | 569 break; |
| 570 case STUB: | 570 case STUB: |
| 571 translation->BeginCompiledStubFrame(translation_size); | 571 translation->BeginCompiledStubFrame(); |
| 572 break; | 572 break; |
| 573 } | 573 } |
| 574 | 574 |
| 575 int object_index = 0; | 575 int object_index = 0; |
| 576 int dematerialized_index = 0; | 576 int dematerialized_index = 0; |
| 577 for (int i = 0; i < translation_size; ++i) { | 577 for (int i = 0; i < translation_size; ++i) { |
| 578 LOperand* value = environment->values()->at(i); | 578 LOperand* value = environment->values()->at(i); |
| 579 AddToTranslation(environment, | 579 AddToTranslation(environment, |
| 580 translation, | 580 translation, |
| 581 value, | 581 value, |
| (...skipping 5444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6026 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6026 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6027 } | 6027 } |
| 6028 | 6028 |
| 6029 | 6029 |
| 6030 #undef __ | 6030 #undef __ |
| 6031 | 6031 |
| 6032 } // namespace internal | 6032 } // namespace internal |
| 6033 } // namespace v8 | 6033 } // namespace v8 |
| 6034 | 6034 |
| 6035 #endif // V8_TARGET_ARCH_X64 | 6035 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |