[*] fuck off incompetent google c++ shitters
last aurora commit: 21824f3e
(fuck off wasm sympathizers)
This commit is contained in:
parent
d7609f5d92
commit
9fb9e65111
@ -381,6 +381,13 @@ class V8_EXPORT ScriptCompiler {
|
||||
CachedData(const uint8_t* data, int length,
|
||||
BufferPolicy buffer_policy = BufferNotOwned);
|
||||
~CachedData();
|
||||
|
||||
// No retards, we will not `delete pCachedData` across api module boundaries
|
||||
// > implying everyone shares the same std::allocator and memory operators
|
||||
// Oh, jeez, I wonder chrome and frens are such a clusterfuck of use after
|
||||
// free vulnerabilities
|
||||
void Release();
|
||||
|
||||
// TODO(marja): Async compilation; add constructors which take a callback
|
||||
// which will be called when V8 no longer needs the data.
|
||||
const uint8_t* data;
|
||||
|
@ -2100,6 +2100,8 @@ ScriptCompiler::CachedData::~CachedData() {
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptCompiler::CachedData::Release() { delete this; }
|
||||
|
||||
ScriptCompiler::StreamedSource::StreamedSource(
|
||||
std::unique_ptr<ExternalSourceStream> stream, Encoding encoding)
|
||||
: impl_(new i::ScriptStreamingData(std::move(stream), encoding)) {}
|
||||
|
Loading…
Reference in New Issue
Block a user