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 #include "src/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
8 #include "src/arm/lithium-gap-resolver-arm.h" | 8 #include "src/arm/lithium-gap-resolver-arm.h" |
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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 DCHECK(translation_size == 1); | 617 DCHECK(translation_size == 1); |
618 DCHECK(height == 0); | 618 DCHECK(height == 0); |
619 translation->BeginGetterStubFrame(closure_id); | 619 translation->BeginGetterStubFrame(closure_id); |
620 break; | 620 break; |
621 case JS_SETTER: | 621 case JS_SETTER: |
622 DCHECK(translation_size == 2); | 622 DCHECK(translation_size == 2); |
623 DCHECK(height == 0); | 623 DCHECK(height == 0); |
624 translation->BeginSetterStubFrame(closure_id); | 624 translation->BeginSetterStubFrame(closure_id); |
625 break; | 625 break; |
626 case STUB: | 626 case STUB: |
627 translation->BeginCompiledStubFrame(translation_size); | 627 translation->BeginCompiledStubFrame(); |
628 break; | 628 break; |
629 case ARGUMENTS_ADAPTOR: | 629 case ARGUMENTS_ADAPTOR: |
630 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 630 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
631 break; | 631 break; |
632 } | 632 } |
633 | 633 |
634 int object_index = 0; | 634 int object_index = 0; |
635 int dematerialized_index = 0; | 635 int dematerialized_index = 0; |
636 for (int i = 0; i < translation_size; ++i) { | 636 for (int i = 0; i < translation_size; ++i) { |
637 LOperand* value = environment->values()->at(i); | 637 LOperand* value = environment->values()->at(i); |
(...skipping 5375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6013 __ push(ToRegister(instr->function())); | 6013 __ push(ToRegister(instr->function())); |
6014 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6014 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6015 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6015 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6016 } | 6016 } |
6017 | 6017 |
6018 | 6018 |
6019 #undef __ | 6019 #undef __ |
6020 | 6020 |
6021 } // namespace internal | 6021 } // namespace internal |
6022 } // namespace v8 | 6022 } // namespace v8 |
OLD | NEW |