mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Update stable copy of buffer bytes in WebAssembly compile
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
2c622ac377
commit
3fd16b168b
4 changed files with 26 additions and 5 deletions
|
|
@ -116,7 +116,7 @@ void GlobalObject::installArrayBuffer(ExecutionState& state)
|
|||
ObjectPropertyDescriptor(new NativeFunctionObject(state, NativeFunctionInfo(strings->isView, builtinArrayBufferIsView, 1, NativeFunctionInfo::Strict)),
|
||||
(ObjectPropertyDescriptor::PresentAttribute)(ObjectPropertyDescriptor::WritablePresent | ObjectPropertyDescriptor::ConfigurablePresent)));
|
||||
|
||||
m_arrayBufferPrototype = new ArrayBufferObject(state, m_objectPrototype);
|
||||
m_arrayBufferPrototype = new Object(state, m_objectPrototype);
|
||||
m_arrayBufferPrototype->setGlobalIntrinsicObject(state, true);
|
||||
|
||||
m_arrayBufferPrototype->defineOwnProperty(state, ObjectPropertyName(strings->constructor), ObjectPropertyDescriptor(m_arrayBuffer, (ObjectPropertyDescriptor::PresentAttribute)(ObjectPropertyDescriptor::WritablePresent | ObjectPropertyDescriptor::ConfigurablePresent)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue