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

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

Issue 2186533002: Remove dead code for generated code coverage. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/mips64/full-codegen-mips64.cc ('k') | src/ia32/assembler-ia32.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_S390 5 #if V8_TARGET_ARCH_S390
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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // Push the return value on the stack as the parameter. 439 // Push the return value on the stack as the parameter.
440 // Runtime::TraceExit returns its parameter in r2 440 // Runtime::TraceExit returns its parameter in r2
441 __ push(r2); 441 __ push(r2);
442 __ CallRuntime(Runtime::kTraceExit); 442 __ CallRuntime(Runtime::kTraceExit);
443 } 443 }
444 EmitProfilingCounterHandlingForReturnSequence(false); 444 EmitProfilingCounterHandlingForReturnSequence(false);
445 445
446 // Make sure that the constant pool is not emitted inside of the return 446 // Make sure that the constant pool is not emitted inside of the return
447 // sequence. 447 // sequence.
448 { 448 {
449 // Here we use masm_-> instead of the __ macro to avoid the code coverage
450 // tool from instrumenting as we rely on the code size here.
451 int32_t arg_count = info_->scope()->num_parameters() + 1; 449 int32_t arg_count = info_->scope()->num_parameters() + 1;
452 int32_t sp_delta = arg_count * kPointerSize; 450 int32_t sp_delta = arg_count * kPointerSize;
453 SetReturnPosition(literal()); 451 SetReturnPosition(literal());
454 __ LeaveFrame(StackFrame::JAVA_SCRIPT, sp_delta); 452 __ LeaveFrame(StackFrame::JAVA_SCRIPT, sp_delta);
455 453
456 __ Ret(); 454 __ Ret();
457 } 455 }
458 } 456 }
459 } 457 }
460 458
(...skipping 3220 matching lines...) Expand 10 before | Expand all | Expand 10 after
3681 DCHECK(kOSRBranchInstruction == br_instr); 3679 DCHECK(kOSRBranchInstruction == br_instr);
3682 3680
3683 DCHECK(interrupt_address == 3681 DCHECK(interrupt_address ==
3684 isolate->builtins()->OnStackReplacement()->entry()); 3682 isolate->builtins()->OnStackReplacement()->entry());
3685 return ON_STACK_REPLACEMENT; 3683 return ON_STACK_REPLACEMENT;
3686 } 3684 }
3687 3685
3688 } // namespace internal 3686 } // namespace internal
3689 } // namespace v8 3687 } // namespace v8
3690 #endif // V8_TARGET_ARCH_S390 3688 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698