| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved.7 | 1 // Copyright 2012 the V8 project authors. All rights reserved.7 |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 DCHECK(translation_size == 1); | 615 DCHECK(translation_size == 1); |
| 616 DCHECK(height == 0); | 616 DCHECK(height == 0); |
| 617 translation->BeginGetterStubFrame(closure_id); | 617 translation->BeginGetterStubFrame(closure_id); |
| 618 break; | 618 break; |
| 619 case JS_SETTER: | 619 case JS_SETTER: |
| 620 DCHECK(translation_size == 2); | 620 DCHECK(translation_size == 2); |
| 621 DCHECK(height == 0); | 621 DCHECK(height == 0); |
| 622 translation->BeginSetterStubFrame(closure_id); | 622 translation->BeginSetterStubFrame(closure_id); |
| 623 break; | 623 break; |
| 624 case STUB: | 624 case STUB: |
| 625 translation->BeginCompiledStubFrame(); | 625 translation->BeginCompiledStubFrame(translation_size); |
| 626 break; | 626 break; |
| 627 case ARGUMENTS_ADAPTOR: | 627 case ARGUMENTS_ADAPTOR: |
| 628 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 628 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
| 629 break; | 629 break; |
| 630 } | 630 } |
| 631 | 631 |
| 632 int object_index = 0; | 632 int object_index = 0; |
| 633 int dematerialized_index = 0; | 633 int dematerialized_index = 0; |
| 634 for (int i = 0; i < translation_size; ++i) { | 634 for (int i = 0; i < translation_size; ++i) { |
| 635 LOperand* value = environment->values()->at(i); | 635 LOperand* value = environment->values()->at(i); |
| (...skipping 5426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6062 __ Push(at, ToRegister(instr->function())); | 6062 __ Push(at, ToRegister(instr->function())); |
| 6063 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6063 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6064 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6064 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6065 } | 6065 } |
| 6066 | 6066 |
| 6067 | 6067 |
| 6068 #undef __ | 6068 #undef __ |
| 6069 | 6069 |
| 6070 } // namespace internal | 6070 } // namespace internal |
| 6071 } // namespace v8 | 6071 } // namespace v8 |
| OLD | NEW |