@glimmer/program
Advanced tools
Comparing version 0.85.12 to 0.85.13
@@ -6,3 +6,2 @@ import { getInternalHelperManager, getInternalModifierManager, getInternalComponentManager, capabilityFlagsFrom, getComponentTemplate, managerHasCapability } from '@glimmer/manager'; | ||
import { SexpOpcodes } from '@glimmer/wire-format'; | ||
import { DEBUG } from '@glimmer/env'; | ||
@@ -210,10 +209,2 @@ /** | ||
const LOCAL_DEBUG = DEBUG && (() => { | ||
let location = typeof window !== 'undefined' && window.location; | ||
if (location && /[&?]disable_local_debug/u.test(window.location.search)) { | ||
return false; | ||
} | ||
return true; | ||
})(); | ||
class RuntimeOpImpl { | ||
@@ -276,3 +267,3 @@ offset = 0; | ||
sizeof(handle) { | ||
return sizeof(this.table, handle); | ||
return sizeof(this.table); | ||
} | ||
@@ -347,8 +338,2 @@ } | ||
finishMalloc(handle) { | ||
// @TODO: At the moment, garbage collection isn't actually used, so this is | ||
// wrapped to prevent us from allocating extra space in prod. In the future, | ||
// if we start using the compact API, we should change this. | ||
if (LOCAL_DEBUG) { | ||
this.handleState[handle] = TableSlotState.Allocated; | ||
} | ||
} | ||
@@ -366,3 +351,3 @@ size() { | ||
sizeof(handle) { | ||
return sizeof(this.handleTable, handle); | ||
return sizeof(this.handleTable); | ||
} | ||
@@ -444,5 +429,3 @@ free(handle) { | ||
function sizeof(table, handle) { | ||
if (LOCAL_DEBUG) { | ||
return unwrap(table[handle + 1]) - unwrap(table[handle]); | ||
} else { | ||
{ | ||
return -1; | ||
@@ -449,0 +432,0 @@ } |
{ | ||
"name": "@glimmer/program", | ||
"type": "module", | ||
"version": "0.85.12", | ||
"version": "0.85.13", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/program", | ||
@@ -11,9 +11,9 @@ "files": [ | ||
"@glimmer/env": "0.1.7", | ||
"@glimmer/util": "^0.85.12", | ||
"@glimmer/opcode-compiler": "^0.85.12", | ||
"@glimmer/manager": "^0.85.12", | ||
"@glimmer/interfaces": "^0.85.12", | ||
"@glimmer/encoder": "^0.85.12", | ||
"@glimmer/wire-format": "^0.85.12", | ||
"@glimmer/vm": "^0.85.12" | ||
"@glimmer/util": "^0.85.13", | ||
"@glimmer/opcode-compiler": "^0.85.13", | ||
"@glimmer/manager": "^0.85.13", | ||
"@glimmer/interfaces": "^0.85.13", | ||
"@glimmer/encoder": "^0.85.13", | ||
"@glimmer/wire-format": "^0.85.13", | ||
"@glimmer/vm": "^0.85.13" | ||
}, | ||
@@ -26,3 +26,3 @@ "devDependencies": { | ||
"@glimmer-workspace/build-support": "^1.0.0", | ||
"@glimmer/local-debug-flags": "^0.85.12" | ||
"@glimmer/local-debug-flags": "^0.85.13" | ||
}, | ||
@@ -29,0 +29,0 @@ "main": null, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86721
1199
Updated@glimmer/encoder@^0.85.13
Updated@glimmer/interfaces@^0.85.13
Updated@glimmer/manager@^0.85.13
Updated@glimmer/util@^0.85.13
Updated@glimmer/vm@^0.85.13