Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 1136223004: Unify reading of deoptimization information. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix too restrictive check Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/accessors.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(); 627 translation->BeginCompiledStubFrame(translation_size);
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
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
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698