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

Side by Side Diff: src/mips64/lithium-codegen-mips64.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/mips/lithium-codegen-mips.cc ('k') | src/ppc/lithium-codegen-ppc.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/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
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
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
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698