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

Side by Side Diff: src/arm64/lithium-codegen-arm64.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/arm/lithium-codegen-arm.cc ('k') | src/deoptimizer.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/lithium-codegen-arm64.h" 7 #include "src/arm64/lithium-codegen-arm64.h"
8 #include "src/arm64/lithium-gap-resolver-arm64.h" 8 #include "src/arm64/lithium-gap-resolver-arm64.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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 DCHECK(translation_size == 1); 245 DCHECK(translation_size == 1);
246 DCHECK(height == 0); 246 DCHECK(height == 0);
247 translation->BeginGetterStubFrame(closure_id); 247 translation->BeginGetterStubFrame(closure_id);
248 break; 248 break;
249 case JS_SETTER: 249 case JS_SETTER:
250 DCHECK(translation_size == 2); 250 DCHECK(translation_size == 2);
251 DCHECK(height == 0); 251 DCHECK(height == 0);
252 translation->BeginSetterStubFrame(closure_id); 252 translation->BeginSetterStubFrame(closure_id);
253 break; 253 break;
254 case STUB: 254 case STUB:
255 translation->BeginCompiledStubFrame(); 255 translation->BeginCompiledStubFrame(translation_size);
256 break; 256 break;
257 case ARGUMENTS_ADAPTOR: 257 case ARGUMENTS_ADAPTOR:
258 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); 258 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size);
259 break; 259 break;
260 default: 260 default:
261 UNREACHABLE(); 261 UNREACHABLE();
262 } 262 }
263 263
264 int object_index = 0; 264 int object_index = 0;
265 int dematerialized_index = 0; 265 int dematerialized_index = 0;
(...skipping 5833 matching lines...) Expand 10 before | Expand all | Expand 10 after
6099 Handle<ScopeInfo> scope_info = instr->scope_info(); 6099 Handle<ScopeInfo> scope_info = instr->scope_info();
6100 __ Push(scope_info); 6100 __ Push(scope_info);
6101 __ Push(ToRegister(instr->function())); 6101 __ Push(ToRegister(instr->function()));
6102 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6102 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6103 RecordSafepoint(Safepoint::kNoLazyDeopt); 6103 RecordSafepoint(Safepoint::kNoLazyDeopt);
6104 } 6104 }
6105 6105
6106 6106
6107 } // namespace internal 6107 } // namespace internal
6108 } // namespace v8 6108 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698