@@ -396,21 +396,21 @@ static inline uint64_t AddTraceEventImpl(
396
396
const char * scope, uint64_t id, uint64_t bind_id, int32_t num_args,
397
397
const char ** arg_names, const uint8_t * arg_types,
398
398
const uint64_t * arg_values, unsigned int flags) {
399
- std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertables [2 ];
399
+ std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertibles [2 ];
400
400
if (num_args > 0 && arg_types[0 ] == TRACE_VALUE_TYPE_CONVERTABLE) {
401
- arg_convertables [0 ].reset (reinterpret_cast <v8::ConvertableToTraceFormat*>(
401
+ arg_convertibles [0 ].reset (reinterpret_cast <v8::ConvertableToTraceFormat*>(
402
402
static_cast <intptr_t >(arg_values[0 ])));
403
403
}
404
404
if (num_args > 1 && arg_types[1 ] == TRACE_VALUE_TYPE_CONVERTABLE) {
405
- arg_convertables [1 ].reset (reinterpret_cast <v8::ConvertableToTraceFormat*>(
405
+ arg_convertibles [1 ].reset (reinterpret_cast <v8::ConvertableToTraceFormat*>(
406
406
static_cast <intptr_t >(arg_values[1 ])));
407
407
}
408
408
// DCHECK(num_args <= 2);
409
409
v8::Platform* platform =
410
410
node::tracing::TraceEventHelper::GetCurrentPlatform ();
411
411
return platform->AddTraceEvent (phase, category_group_enabled, name, scope, id,
412
412
bind_id, num_args, arg_names, arg_types,
413
- arg_values, arg_convertables , flags);
413
+ arg_values, arg_convertibles , flags);
414
414
}
415
415
416
416
// Define SetTraceValue for each allowed type. It stores the type and
0 commit comments