| 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/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/cpu-profiler.h" | 9 #include "src/cpu-profiler.h" |
| 10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 DCHECK(translation_size == 1); | 603 DCHECK(translation_size == 1); |
| 604 DCHECK(height == 0); | 604 DCHECK(height == 0); |
| 605 translation->BeginGetterStubFrame(closure_id); | 605 translation->BeginGetterStubFrame(closure_id); |
| 606 break; | 606 break; |
| 607 case JS_SETTER: | 607 case JS_SETTER: |
| 608 DCHECK(translation_size == 2); | 608 DCHECK(translation_size == 2); |
| 609 DCHECK(height == 0); | 609 DCHECK(height == 0); |
| 610 translation->BeginSetterStubFrame(closure_id); | 610 translation->BeginSetterStubFrame(closure_id); |
| 611 break; | 611 break; |
| 612 case STUB: | 612 case STUB: |
| 613 translation->BeginCompiledStubFrame(); | 613 translation->BeginCompiledStubFrame(translation_size); |
| 614 break; | 614 break; |
| 615 case ARGUMENTS_ADAPTOR: | 615 case ARGUMENTS_ADAPTOR: |
| 616 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 616 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
| 617 break; | 617 break; |
| 618 } | 618 } |
| 619 | 619 |
| 620 int object_index = 0; | 620 int object_index = 0; |
| 621 int dematerialized_index = 0; | 621 int dematerialized_index = 0; |
| 622 for (int i = 0; i < translation_size; ++i) { | 622 for (int i = 0; i < translation_size; ++i) { |
| 623 LOperand* value = environment->values()->at(i); | 623 LOperand* value = environment->values()->at(i); |
| (...skipping 5499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6123 __ Push(at, ToRegister(instr->function())); | 6123 __ Push(at, ToRegister(instr->function())); |
| 6124 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6124 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6125 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6125 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6126 } | 6126 } |
| 6127 | 6127 |
| 6128 | 6128 |
| 6129 #undef __ | 6129 #undef __ |
| 6130 | 6130 |
| 6131 } // namespace internal | 6131 } // namespace internal |
| 6132 } // namespace v8 | 6132 } // namespace v8 |
| OLD | NEW |