mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
1. remove libunwind from Makefile & source
2. disable thread function in bdwgc 3. remove m_version from ObjectStructure 4. add rawBuffer in TypedArrayObject 5. remove wrong usage of Value::toArrayIndex and Value::toIndex 6. optimize String::tryToUseAsArrayIndex, String::tryToUseAsIndex Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
d2aae57751
commit
1b044658fc
19 changed files with 221 additions and 203 deletions
|
|
@ -70,27 +70,12 @@ NEVER_INLINE bool eval(Escargot::Context* context, Escargot::String* str, Escarg
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
// GC_disable();
|
||||
/*
|
||||
GC_set_force_unmap_on_gcollect(1);
|
||||
for (size_t i = 0; i < 96; i ++) {
|
||||
void* ptr = GC_MALLOC_ATOMIC(1024*1024*i);
|
||||
printf("%p\n", ptr);
|
||||
}
|
||||
GC_gcollect();
|
||||
GC_gcollect();
|
||||
GC_gcollect();
|
||||
GC_gcollect();
|
||||
GC_gcollect();
|
||||
*/
|
||||
|
||||
Escargot::Heap::initialize();
|
||||
|
||||
#ifndef NDEBUG
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stderr, NULL);
|
||||
#endif
|
||||
|
||||
Escargot::Heap::initialize();
|
||||
Escargot::VMInstance* instance = new Escargot::VMInstance();
|
||||
Escargot::Context* context = new Escargot::Context(instance);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue