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

Side by Side Diff: src/x87/lithium-codegen-x87.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/x64/lithium-codegen-x64.cc ('k') | no next file » | 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 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
8 8
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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 break; 907 break;
908 case JS_SETTER: 908 case JS_SETTER:
909 DCHECK(translation_size == 2); 909 DCHECK(translation_size == 2);
910 DCHECK(height == 0); 910 DCHECK(height == 0);
911 translation->BeginSetterStubFrame(closure_id); 911 translation->BeginSetterStubFrame(closure_id);
912 break; 912 break;
913 case ARGUMENTS_ADAPTOR: 913 case ARGUMENTS_ADAPTOR:
914 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); 914 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size);
915 break; 915 break;
916 case STUB: 916 case STUB:
917 translation->BeginCompiledStubFrame(); 917 translation->BeginCompiledStubFrame(translation_size);
918 break; 918 break;
919 default: 919 default:
920 UNREACHABLE(); 920 UNREACHABLE();
921 } 921 }
922 922
923 int object_index = 0; 923 int object_index = 0;
924 int dematerialized_index = 0; 924 int dematerialized_index = 0;
925 for (int i = 0; i < translation_size; ++i) { 925 for (int i = 0; i < translation_size; ++i) {
926 LOperand* value = environment->values()->at(i); 926 LOperand* value = environment->values()->at(i);
927 AddToTranslation(environment, 927 AddToTranslation(environment,
(...skipping 5515 matching lines...) Expand 10 before | Expand all | Expand 10 after
6443 RecordSafepoint(Safepoint::kNoLazyDeopt); 6443 RecordSafepoint(Safepoint::kNoLazyDeopt);
6444 } 6444 }
6445 6445
6446 6446
6447 #undef __ 6447 #undef __
6448 6448
6449 } // namespace internal 6449 } // namespace internal
6450 } // namespace v8 6450 } // namespace v8
6451 6451
6452 #endif // V8_TARGET_ARCH_X87 6452 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698