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

Side by Side Diff: src/ppc/lithium-codegen-ppc.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/mips64/lithium-codegen-mips64.cc ('k') | src/runtime/runtime-function.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 DCHECK(translation_size == 1); 584 DCHECK(translation_size == 1);
585 DCHECK(height == 0); 585 DCHECK(height == 0);
586 translation->BeginGetterStubFrame(closure_id); 586 translation->BeginGetterStubFrame(closure_id);
587 break; 587 break;
588 case JS_SETTER: 588 case JS_SETTER:
589 DCHECK(translation_size == 2); 589 DCHECK(translation_size == 2);
590 DCHECK(height == 0); 590 DCHECK(height == 0);
591 translation->BeginSetterStubFrame(closure_id); 591 translation->BeginSetterStubFrame(closure_id);
592 break; 592 break;
593 case STUB: 593 case STUB:
594 translation->BeginCompiledStubFrame(); 594 translation->BeginCompiledStubFrame(translation_size);
595 break; 595 break;
596 case ARGUMENTS_ADAPTOR: 596 case ARGUMENTS_ADAPTOR:
597 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); 597 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size);
598 break; 598 break;
599 } 599 }
600 600
601 int object_index = 0; 601 int object_index = 0;
602 int dematerialized_index = 0; 602 int dematerialized_index = 0;
603 for (int i = 0; i < translation_size; ++i) { 603 for (int i = 0; i < translation_size; ++i) {
604 LOperand* value = environment->values()->at(i); 604 LOperand* value = environment->values()->at(i);
(...skipping 5670 matching lines...) Expand 10 before | Expand all | Expand 10 after
6275 __ Push(scope_info); 6275 __ Push(scope_info);
6276 __ push(ToRegister(instr->function())); 6276 __ push(ToRegister(instr->function()));
6277 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6277 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6278 RecordSafepoint(Safepoint::kNoLazyDeopt); 6278 RecordSafepoint(Safepoint::kNoLazyDeopt);
6279 } 6279 }
6280 6280
6281 6281
6282 #undef __ 6282 #undef __
6283 } // namespace internal 6283 } // namespace internal
6284 } // namespace v8 6284 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/runtime/runtime-function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698