mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:10:27 +00:00
[vm] Remove unused function
Change-Id: Iea78d15c808a8d02c08f3d2468a55e39a7771302 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154007 Reviewed-by: Tess Strickland <sstrickl@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
parent
05c7980fff
commit
fd22357eba
|
@ -2014,14 +2014,6 @@ Fragment StreamingFlowGraphBuilder::CheckArgumentType(
|
|||
type, variable->name(), AssertAssignableInstr::kParameterCheck);
|
||||
}
|
||||
|
||||
Fragment StreamingFlowGraphBuilder::CheckTypeArgumentBound(
|
||||
const AbstractType& parameter,
|
||||
const AbstractType& bound,
|
||||
const String& dst_name) {
|
||||
return flow_graph_builder_->AssertSubtype(TokenPosition::kNoSource, parameter,
|
||||
bound, dst_name);
|
||||
}
|
||||
|
||||
Fragment StreamingFlowGraphBuilder::EnterScope(
|
||||
intptr_t kernel_offset,
|
||||
const LocalScope** scope /* = nullptr */) {
|
||||
|
|
|
@ -263,9 +263,6 @@ class StreamingFlowGraphBuilder : public KernelReaderHelper {
|
|||
Fragment BuildImplicitClosureCreation(const Function& target);
|
||||
Fragment CheckBoolean(TokenPosition position);
|
||||
Fragment CheckArgumentType(LocalVariable* variable, const AbstractType& type);
|
||||
Fragment CheckTypeArgumentBound(const AbstractType& parameter,
|
||||
const AbstractType& bound,
|
||||
const String& dst_name);
|
||||
Fragment EnterScope(intptr_t kernel_offset,
|
||||
const LocalScope** scope = nullptr);
|
||||
Fragment ExitScope(intptr_t kernel_offset);
|
||||
|
|
Loading…
Reference in a new issue