Skip to content

Commit 57ee563

Browse files
rmacnak-googleCommit Queue
authored andcommitted
Roll Clang from 0454dd8c48cd to 8c7a2ce01a77
TEST=ci Cq-Include-Trybots: luci.dart.try:dart-sdk-linux-try;luci.dart.try:dart-sdk-mac-try;luci.dart.try:dart-sdk-mac-arm64-try;luci.dart.try:dart-sdk-win-try Change-Id: I9d4e7abe9541f74a67e469c4ba4ba3cecfaec431 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427280 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent 5d6dc67 commit 57ee563

File tree

18 files changed

+33
-37
lines changed

18 files changed

+33
-37
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ vars = {
7676
"jsc_tag": "version:294346",
7777

7878
# https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/clang
79-
"clang_version": "git_revision:0454dd8c48cd771478f1ae53330ba78e71bcd7cb",
79+
"clang_version": "git_revision:8c7a2ce01a77c96028fe2c8566f65c45ad9408d3",
8080

8181
# https://chrome-infra-packages.appspot.com/p/gn/gn
8282
"gn_version": "git_revision:487f8353f15456474437df32bb186187b0940b45",

runtime/platform/no_tsan.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,21 @@ uintptr_t LoadRelaxedIgnoreRace(const std::atomic<uintptr_t>* ptr);
2323
#if defined(__GNUC__)
2424
__attribute__((no_sanitize("thread")))
2525
#endif
26-
inline uintptr_t
27-
FetchAndRelaxedIgnoreRace(std::atomic<uintptr_t>* ptr, uintptr_t value) {
26+
inline uintptr_t FetchAndRelaxedIgnoreRace(std::atomic<uintptr_t>* ptr,
27+
uintptr_t value) {
2828
return ptr->fetch_and(value, std::memory_order_relaxed);
2929
}
3030
#if defined(__GNUC__)
3131
__attribute__((no_sanitize("thread")))
3232
#endif
33-
inline uintptr_t
34-
FetchOrRelaxedIgnoreRace(std::atomic<uintptr_t>* ptr, uintptr_t value) {
33+
inline uintptr_t FetchOrRelaxedIgnoreRace(std::atomic<uintptr_t>* ptr,
34+
uintptr_t value) {
3535
return ptr->fetch_or(value, std::memory_order_relaxed);
3636
}
3737
#if defined(__GNUC__)
3838
__attribute__((no_sanitize("thread")))
3939
#endif
40-
inline uintptr_t
41-
LoadRelaxedIgnoreRace(const std::atomic<uintptr_t>* ptr) {
40+
inline uintptr_t LoadRelaxedIgnoreRace(const std::atomic<uintptr_t>* ptr) {
4241
return ptr->load(std::memory_order_relaxed);
4342
}
4443
#endif

runtime/platform/utils.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,15 +492,13 @@ class Utils {
492492
#ifdef __GNUC__
493493
__attribute__((no_sanitize("float-divide-by-zero")))
494494
#endif
495-
static inline float
496-
DivideAllowZero(float a, float b) {
495+
static inline float DivideAllowZero(float a, float b) {
497496
return a / b;
498497
}
499498
#ifdef __GNUC__
500499
__attribute__((no_sanitize("float-divide-by-zero")))
501500
#endif
502-
static inline double
503-
DivideAllowZero(double a, double b) {
501+
static inline double DivideAllowZero(double a, double b) {
504502
return a / b;
505503
}
506504

runtime/vm/compiler/backend/constant_propagator.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ ConstantPropagator::ConstantPropagator(
3434
unknown_(Object::unknown_constant()),
3535
non_constant_(Object::non_constant()),
3636
constant_value_(Object::Handle(Z)),
37-
reachable_(new(Z) BitVector(Z, graph->preorder().length())),
38-
unwrapped_phis_(new(Z) BitVector(Z, graph->current_ssa_temp_index())),
37+
reachable_(new (Z) BitVector(Z, graph->preorder().length())),
38+
unwrapped_phis_(new (Z) BitVector(Z, graph->current_ssa_temp_index())),
3939
block_worklist_(),
4040
definition_worklist_(graph, 10) {}
4141

runtime/vm/compiler/backend/il.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ GraphEntryInstr::GraphEntryInstr(const ParsedFunction& parsed_function,
12461246
ConstantInstr* GraphEntryInstr::constant_null() {
12471247
ASSERT(initial_definitions()->length() > 0);
12481248
for (intptr_t i = 0; i < initial_definitions()->length(); ++i) {
1249-
ConstantInstr* defn = (*initial_definitions())[i]->AsConstant();
1249+
ConstantInstr* defn = (*initial_definitions())[i] -> AsConstant();
12501250
if (defn != nullptr && defn->value().IsNull()) return defn;
12511251
}
12521252
UNREACHABLE();

runtime/vm/compiler/backend/il.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5918,7 +5918,7 @@ class DropTempsInstr : public Definition {
59185918
class MakeTempInstr : public TemplateDefinition<0, NoThrow, Pure> {
59195919
public:
59205920
explicit MakeTempInstr(Zone* zone)
5921-
: null_(new(zone) ConstantInstr(Object::ZoneHandle())) {
5921+
: null_(new (zone) ConstantInstr(Object::ZoneHandle())) {
59225922
// Note: We put ConstantInstr inside MakeTemp to simplify code generation:
59235923
// having ConstantInstr allows us to use Location::Constant(null_) as an
59245924
// output location for this instruction.

runtime/vm/compiler/backend/il_printer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ void TryEntryInstr::PrintTo(BaseTextBuffer* f) const {
14671467
for (intptr_t i = 0; i < phis()->length(); ++i) {
14681468
if ((*phis())[i] == nullptr) continue;
14691469
f->AddString("\n ");
1470-
(*phis())[i]->PrintTo(f);
1470+
(*phis())[i] -> PrintTo(f);
14711471
}
14721472
f->AddString("\n}");
14731473
}

runtime/vm/compiler/backend/inliner.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,9 +1959,9 @@ PolymorphicInliner::PolymorphicInliner(CallSiteInliner* owner,
19591959
num_variants_(call->NumberOfChecks()),
19601960
variants_(call->targets_),
19611961
inlined_variants_(zone()),
1962-
non_inlined_variants_(new(zone()) CallTargets(zone())),
1962+
non_inlined_variants_(new (zone()) CallTargets(zone())),
19631963
inlined_entries_(num_variants_),
1964-
exit_collector_(new(Z) InlineExitCollector(owner->caller_graph(), call)),
1964+
exit_collector_(new (Z) InlineExitCollector(owner->caller_graph(), call)),
19651965
caller_function_(caller_function) {}
19661966

19671967
IsolateGroup* PolymorphicInliner::isolate_group() const {

runtime/vm/compiler/backend/redundancy_elimination.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ class AliasedSet : public ZoneAllocated {
774774
typed_data_access_sizes_(),
775775
representatives_(),
776776
killed_(),
777-
aliased_by_effects_(new(zone) BitVector(zone, places->length())) {
777+
aliased_by_effects_(new (zone) BitVector(zone, places->length())) {
778778
InsertAlias(Place::CreateAnyInstanceAnyIndexAlias(
779779
zone_, kAnyInstanceAnyIndexAlias));
780780
for (intptr_t i = 0; i < places_.length(); i++) {

runtime/vm/compiler/backend/type_propagator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ FlowGraphTypePropagator::FlowGraphTypePropagator(FlowGraph* flow_graph)
4949
: FlowGraphVisitor(flow_graph->reverse_postorder()),
5050
flow_graph_(flow_graph),
5151
is_aot_(CompilerState::Current().is_aot()),
52-
visited_blocks_(new(flow_graph->zone())
52+
visited_blocks_(new (flow_graph->zone())
5353
BitVector(flow_graph->zone(),
5454
flow_graph->reverse_postorder().length())),
5555
types_(flow_graph->current_ssa_temp_index()),

0 commit comments

Comments
 (0)