46 lines
2.3 KiB
React
46 lines
2.3 KiB
React
/* Metro module 158; source: unknown; dependencies: [6, 7, 99, 100, 129] */
|
|
function _fun2432(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2432, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:183:6, offset: 0x00c80a82, size: 186 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(99) /* metro dependency 99 */;
|
|
let value = importDefault(100) /* metro dependency 100 */;
|
|
const env0_3 = value('jsHeapSizeLimit');
|
|
const env0_4 = value('totalJSHeapSize');
|
|
const env0_5 = value('usedJSHeapSize');
|
|
value = _fun2433();
|
|
(require(129) /* metro dependency 129 */).setPlatformObject(value);
|
|
exports.default = value;
|
|
}
|
|
|
|
function _fun2433() { // fn#2433, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:183:206, offset: 0x00c80b3c, size: 101 bytes, params: 1, frame: 15
|
|
return env0_1(MemoryInfo, [{key: 'jsHeapSizeLimit', get: get_2435}, {key: 'totalJSHeapSize', get: get_2436},
|
|
{key: 'usedJSHeapSize', get: get_2437}]);
|
|
}
|
|
|
|
function MemoryInfo(a0) { // fn#2434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:183:227, offset: 0x00c80ba1, size: 203 bytes, params: 2, frame: 21
|
|
var binding2;
|
|
var binding3;
|
|
var binding4;
|
|
const value = environment.__proto__;
|
|
let binding = env1_0;
|
|
binding(this, MemoryInfo);
|
|
let Object = global.Object;
|
|
Object.defineProperty(this, env1_3, {writable: true, value: undefined});
|
|
Object = global.Object;
|
|
Object.defineProperty(this, env1_4, {writable: true, value: undefined});
|
|
Object = global.Object;
|
|
Object.defineProperty(this, env1_5, {writable: true, value: undefined});
|
|
if (a0 != null) {
|
|
binding = env1_2;
|
|
binding2 = env1_3;
|
|
binding(this, binding2)[binding2] = a0.jsHeapSizeLimit;
|
|
binding3 = env1_4;
|
|
binding(this, binding3)[binding3] = a0.totalJSHeapSize;
|
|
binding4 = env1_5;
|
|
binding(this, binding4)[binding4] = a0.usedJSHeapSize;
|
|
}
|
|
}
|
|
|