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

Side by Side Diff: src/full-codegen/arm64/full-codegen-arm64.cc

Issue 1759603002: [debugger] Ensure at least one breakable position per function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.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/codegen.h" 10 #include "src/codegen.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 SetVar(arguments, x0, x1, x2); 292 SetVar(arguments, x0, x1, x2);
293 } 293 }
294 294
295 if (FLAG_trace) { 295 if (FLAG_trace) {
296 __ CallRuntime(Runtime::kTraceEnter); 296 __ CallRuntime(Runtime::kTraceEnter);
297 } 297 }
298 298
299 // Visit the declarations and body unless there is an illegal 299 // Visit the declarations and body unless there is an illegal
300 // redeclaration. 300 // redeclaration.
301 if (scope()->HasIllegalRedeclaration()) { 301 if (scope()->HasIllegalRedeclaration()) {
302 Comment cmnt(masm_, "[ Declarations"); 302 EmitIllegalRedeclaration();
303 VisitForEffect(scope()->GetIllegalRedeclaration());
304
305 } else { 303 } else {
306 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); 304 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
307 { Comment cmnt(masm_, "[ Declarations"); 305 { Comment cmnt(masm_, "[ Declarations");
308 VisitDeclarations(scope()->declarations()); 306 VisitDeclarations(scope()->declarations());
309 } 307 }
310 308
311 // Assert that the declarations do not use ICs. Otherwise the debugger 309 // Assert that the declarations do not use ICs. Otherwise the debugger
312 // won't be able to redirect a PC at an IC to the correct IC in newly 310 // won't be able to redirect a PC at an IC to the correct IC in newly
313 // recompiled code. 311 // recompiled code.
314 DCHECK_EQ(0, ic_total_count_); 312 DCHECK_EQ(0, ic_total_count_);
(...skipping 3941 matching lines...) Expand 10 before | Expand all | Expand 10 after
4256 } 4254 }
4257 4255
4258 return INTERRUPT; 4256 return INTERRUPT;
4259 } 4257 }
4260 4258
4261 4259
4262 } // namespace internal 4260 } // namespace internal
4263 } // namespace v8 4261 } // namespace v8
4264 4262
4265 #endif // V8_TARGET_ARCH_ARM64 4263 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698