Add initial Javascript V8 emitter implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4bcfca05dd
commit
3c30e2d382
9 changed files with 857 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include "javascript_emitter.h"
|
||||
|
||||
extern JSEmitter* create_v8_emitter();
|
||||
|
||||
/* ********************************************************************
|
||||
* JAVASCRIPT
|
||||
* ********************************************************************/
|
||||
|
|
@ -200,7 +202,7 @@ void JAVASCRIPT::main(int argc, char *argv[]) {
|
|||
switch(mode) {
|
||||
case JSEmitter::V8:
|
||||
{
|
||||
// TODO: emitter = create_v8_emitter();
|
||||
emitter = create_v8_emitter();
|
||||
break;
|
||||
}
|
||||
case JSEmitter::JavascriptCore:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue