Skip to content

Commit aa00a2d

Browse files
committed
* remove trailing spaces. [ci skip]
1 parent aad9fa2 commit aa00a2d

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

vm_method.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -248,26 +248,26 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid)
248248
RB_VM_LOCKING() { if (LIKELY(RCLASS_SUBCLASSES_FIRST(klass) == NULL)) {
249249
// no subclasses
250250
// check only current class
251-
251+
252252
// invalidate CCs
253253
struct rb_id_table *cc_tbl = RCLASS_WRITABLE_CC_TBL(klass);
254254
invalidate_method_cache_in_cc_table(cc_tbl, mid);
255255
if (RCLASS_CC_TBL_NOT_PRIME_P(klass, cc_tbl)) {
256256
invalidate_method_cache_in_cc_table(RCLASS_PRIME_CC_TBL(klass), mid);
257257
}
258-
258+
259259
// remove from callable_m_tbl, if exists
260260
struct rb_id_table *cm_tbl = RCLASS_WRITABLE_CALLABLE_M_TBL(klass);
261261
invalidate_callable_method_entry_in_callable_m_table(cm_tbl, mid);
262262
if (RCLASS_CALLABLE_M_TBL_NOT_PRIME_P(klass, cm_tbl)) {
263263
invalidate_callable_method_entry_in_callable_m_table(RCLASS_PRIME_CALLABLE_M_TBL(klass), mid);
264264
}
265-
265+
266266
RB_DEBUG_COUNTER_INC(cc_invalidate_leaf);
267267
}
268268
else {
269269
const rb_callable_method_entry_t *cme = complemented_callable_method_entry(klass, mid);
270-
270+
271271
if (cme) {
272272
// invalidate cme if found to invalidate the inline method cache.
273273
if (METHOD_ENTRY_CACHED(cme)) {
@@ -285,29 +285,29 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid)
285285
else {
286286
klass_housing_cme = RCLASS_ORIGIN(owner);
287287
}
288-
288+
289289
// replace the cme that will be invalid in the all classexts
290290
invalidate_callable_method_entry_in_every_m_table(klass_housing_cme, mid, cme);
291291
}
292-
292+
293293
vm_cme_invalidate((rb_callable_method_entry_t *)cme);
294294
RB_DEBUG_COUNTER_INC(cc_invalidate_tree_cme);
295-
295+
296296
// In case of refinement ME, also invalidate the wrapped ME that
297297
// could be cached at some callsite and is unreachable from any
298298
// RCLASS_WRITABLE_CC_TBL.
299299
if (cme->def->type == VM_METHOD_TYPE_REFINED && cme->def->body.refined.orig_me) {
300300
vm_cme_invalidate((rb_callable_method_entry_t *)cme->def->body.refined.orig_me);
301301
}
302-
302+
303303
if (cme->def->iseq_overload) {
304304
rb_callable_method_entry_t *monly_cme = (rb_callable_method_entry_t *)lookup_overloaded_cme(cme);
305305
if (monly_cme) {
306306
vm_cme_invalidate(monly_cme);
307307
}
308308
}
309309
}
310-
310+
311311
// invalidate complement tbl
312312
if (METHOD_ENTRY_COMPLEMENTED(cme)) {
313313
VALUE defined_class = cme->defined_class;
@@ -318,14 +318,14 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid)
318318
invalidate_complemented_method_entry_in_callable_m_table(prime_cm_table, mid);
319319
}
320320
}
321-
321+
322322
RB_DEBUG_COUNTER_INC(cc_invalidate_tree);
323323
}
324324
else {
325325
invalidate_negative_cache(mid);
326326
}
327327
}
328-
328+
329329
rb_gccct_clear_table(Qnil);
330330
}
331331
}

yjit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,11 +746,11 @@ void
746746
rb_yjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception)
747747
{
748748
RB_VM_LOCKING() { rb_vm_barrier();
749-
749+
750750
// Compile a block version starting at the current instruction
751751
uint8_t *rb_yjit_iseq_gen_entry_point(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception); // defined in Rust
752752
uintptr_t code_ptr = (uintptr_t)rb_yjit_iseq_gen_entry_point(iseq, ec, jit_exception);
753-
753+
754754
if (jit_exception) {
755755
iseq->body->jit_exception = (rb_jit_func_t)code_ptr;
756756
}

zjit.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ void
163163
rb_zjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception)
164164
{
165165
RB_VM_LOCKING() { rb_vm_barrier();
166-
166+
167167
// Convert ZJIT instructions back to bare instructions
168168
rb_zjit_profile_disable(iseq);
169-
169+
170170
// Compile a block version starting at the current instruction
171171
uint8_t *rb_zjit_iseq_gen_entry_point(const rb_iseq_t *iseq, rb_execution_context_t *ec); // defined in Rust
172172
uintptr_t code_ptr = (uintptr_t)rb_zjit_iseq_gen_entry_point(iseq, ec);
173-
173+
174174
// TODO: support jit_exception
175175
iseq->body->jit_entry = (rb_jit_func_t)code_ptr;
176176
}

0 commit comments

Comments
 (0)