52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
// Metro module 166 (f167).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _classPrivateFieldBase from "./_classPrivateFieldBase";
|
|
import _classPrivateFieldKey from "./_classPrivateFieldKey";
|
|
import { setPlatformObject } from "./Module126";
|
|
let env172 = {};
|
|
const c172_2 = _classPrivateFieldKey("jsHeapSizeLimit");
|
|
const c172_3 = _classPrivateFieldKey("totalJSHeapSize");
|
|
const c172_4 = _classPrivateFieldKey("usedJSHeapSize");
|
|
const MemoryInfo = function MemoryInfo(a0) {
|
|
_classCallCheck(this, MemoryInfo);
|
|
const r8 = Object;
|
|
r8.defineProperty(this, c172_2, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
const r10 = Object;
|
|
r10.defineProperty(this, c172_3, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
const r20 = Object;
|
|
r20.defineProperty(this, c172_4, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
if (a0 != null) {
|
|
_classPrivateFieldBase(this, c172_2)[c172_2] = a0.jsHeapSizeLimit;
|
|
_classPrivateFieldBase(this, c172_3)[c172_3] = a0.totalJSHeapSize;
|
|
_classPrivateFieldBase(this, c172_4)[c172_4] = a0.usedJSHeapSize;
|
|
}
|
|
};
|
|
const r34 = _createClass(MemoryInfo, [{
|
|
key: "jsHeapSizeLimit",
|
|
get: function get() {
|
|
return _classPrivateFieldBase(this, c172_2)[c172_2];
|
|
}
|
|
}, {
|
|
key: "totalJSHeapSize",
|
|
get: function get() {
|
|
return _classPrivateFieldBase(this, c172_3)[c172_3];
|
|
}
|
|
}, {
|
|
key: "usedJSHeapSize",
|
|
get: function get() {
|
|
return _classPrivateFieldBase(this, c172_4)[c172_4];
|
|
}
|
|
}]);
|
|
setPlatformObject(r34);
|
|
export default r34;
|