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

Side by Side Diff: src/compiler/linkage.cc

Issue 2882973002: [coverage] Block coverage with support for IfStatements (Closed)
Patch Set: Address comments Created 3 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/compiler/bytecode-graph-builder.cc ('k') | src/d8.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/linkage.h" 5 #include "src/compiler/linkage.h"
6 6
7 #include "src/assembler-inl.h" 7 #include "src/assembler-inl.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/compilation-info.h" 9 #include "src/compilation-info.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Most runtime functions need a FrameState. A few chosen ones that we know 143 // Most runtime functions need a FrameState. A few chosen ones that we know
144 // not to call into arbitrary JavaScript, not to throw, and not to lazily 144 // not to call into arbitrary JavaScript, not to throw, and not to lazily
145 // deoptimize are whitelisted here and can be called without a FrameState. 145 // deoptimize are whitelisted here and can be called without a FrameState.
146 case Runtime::kAbort: 146 case Runtime::kAbort:
147 case Runtime::kAllocateInTargetSpace: 147 case Runtime::kAllocateInTargetSpace:
148 case Runtime::kConvertReceiver: 148 case Runtime::kConvertReceiver:
149 case Runtime::kCreateIterResultObject: 149 case Runtime::kCreateIterResultObject:
150 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 150 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
151 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 151 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
152 case Runtime::kGeneratorGetContinuation: 152 case Runtime::kGeneratorGetContinuation:
153 case Runtime::kIncBlockCounter:
153 case Runtime::kIsFunction: 154 case Runtime::kIsFunction:
154 case Runtime::kNewClosure: 155 case Runtime::kNewClosure:
155 case Runtime::kNewClosure_Tenured: 156 case Runtime::kNewClosure_Tenured:
156 case Runtime::kNewFunctionContext: 157 case Runtime::kNewFunctionContext:
157 case Runtime::kPushBlockContext: 158 case Runtime::kPushBlockContext:
158 case Runtime::kPushCatchContext: 159 case Runtime::kPushCatchContext:
159 case Runtime::kReThrow: 160 case Runtime::kReThrow:
160 case Runtime::kStringCompare: 161 case Runtime::kStringCompare:
161 case Runtime::kStringEqual: 162 case Runtime::kStringEqual:
162 case Runtime::kStringNotEqual: 163 case Runtime::kStringNotEqual:
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); 513 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged()));
513 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, 514 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot,
514 MachineType::AnyTagged()); 515 MachineType::AnyTagged());
515 } 516 }
516 } 517 }
517 518
518 519
519 } // namespace compiler 520 } // namespace compiler
520 } // namespace internal 521 } // namespace internal
521 } // namespace v8 522 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698