| OLD | NEW |
| 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/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 } | 321 } |
| 322 | 322 |
| 323 if (FLAG_trace) { | 323 if (FLAG_trace) { |
| 324 __ CallRuntime(Runtime::kTraceEnter, 0); | 324 __ CallRuntime(Runtime::kTraceEnter, 0); |
| 325 } | 325 } |
| 326 | 326 |
| 327 // Visit the declarations and body unless there is an illegal | 327 // Visit the declarations and body unless there is an illegal |
| 328 // redeclaration. | 328 // redeclaration. |
| 329 if (scope()->HasIllegalRedeclaration()) { | 329 if (scope()->HasIllegalRedeclaration()) { |
| 330 Comment cmnt(masm_, "[ Declarations"); | 330 Comment cmnt(masm_, "[ Declarations"); |
| 331 scope()->VisitIllegalRedeclaration(this); | 331 VisitForEffect(scope()->GetIllegalRedeclaration()); |
| 332 | 332 |
| 333 } else { | 333 } else { |
| 334 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); | 334 PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS); |
| 335 { Comment cmnt(masm_, "[ Declarations"); | 335 { Comment cmnt(masm_, "[ Declarations"); |
| 336 VisitDeclarations(scope()->declarations()); | 336 VisitDeclarations(scope()->declarations()); |
| 337 } | 337 } |
| 338 | 338 |
| 339 // Assert that the declarations do not use ICs. Otherwise the debugger | 339 // Assert that the declarations do not use ICs. Otherwise the debugger |
| 340 // won't be able to redirect a PC at an IC to the correct IC in newly | 340 // won't be able to redirect a PC at an IC to the correct IC in newly |
| 341 // recompiled code. | 341 // recompiled code. |
| (...skipping 5006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5348 } | 5348 } |
| 5349 | 5349 |
| 5350 return INTERRUPT; | 5350 return INTERRUPT; |
| 5351 } | 5351 } |
| 5352 | 5352 |
| 5353 | 5353 |
| 5354 } // namespace internal | 5354 } // namespace internal |
| 5355 } // namespace v8 | 5355 } // namespace v8 |
| 5356 | 5356 |
| 5357 #endif // V8_TARGET_ARCH_ARM64 | 5357 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |