@@ -336,15 +336,6 @@ NATIVE_FUNCTION(NativesObject, InitrdReadFileBuffer) {
336336 RT_ASSERT (buf);
337337 memcpy (buf, file.Data (), file.Size ());
338338
339- LOCAL_V8STRING (s_memory_range, " memoryRange" );
340- LOCAL_V8STRING (s_io_range, " ioRange" );
341- LOCAL_V8STRING (s_irq_range, " irqRange" );
342- LOCAL_V8STRING (s_acpi, " acpi" );
343- LOCAL_V8STRING (s_allocator, " allocator" );
344- LOCAL_V8STRING (s_loader, " loader" );
345- LOCAL_V8STRING (s_natives, " natives" );
346- LOCAL_V8STRING (s_libsodium, " libsodium" );
347-
348339 // Let V8 manage buffer lifetime
349340 v8::Local<v8::ArrayBuffer> ab = v8::ArrayBuffer::New (iv8, buf, file.Size (),
350341 v8::ArrayBufferCreationMode::kInternalized );
@@ -388,20 +379,18 @@ NATIVE_FUNCTION(NativesObject, SystemInfo) {
388379 obj->Set (context, s_irq_counters, counters);
389380 }
390381
391- <<<<<<< HEAD
392- obj->Set (context, s_libsodium, (new LibsodiumObject ())
393- ->BindToTemplateCache (th->template_cache ())
394- ->GetInstance ());
395-
396- args.GetReturnValue ().Set (obj);
397- }
398- =======
399382 {
400383 auto ev_count = static_cast <uint32_t >(th->thread_manager ()->events_count ());
401384 LOCAL_V8STRING (s_events_count, " eventsCount" );
402385 obj->Set (context, s_events_count, v8::Uint32::NewFromUnsigned (iv8, ev_count));
403386 }
404- >>>>>>> 30abc903d2341089395161ae3c0a1336dae24ea7
387+
388+ {
389+ LOCAL_V8STRING (s_libsodium, " libsodium" );
390+ obj->Set (context, s_libsodium, (new LibsodiumObject ())
391+ ->BindToTemplateCache (th->template_cache ())
392+ ->GetInstance ());
393+ }
405394
406395 args.GetReturnValue ().Set (obj);
407396}
0 commit comments