diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-12-07 23:57:35 -0800 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-12-08 17:25:02 +0100 |
commit | 13ea451c4fad5925377f51fca1a8bdb35c4bc7f8 (patch) | |
tree | 68db3d829bfbbd93043ba6076bdffa56bced5470 /qmljs_engine.cpp | |
parent | 759d70e8a4ef5d35385b3dbc6aed471f3480ea0e (diff) |
Implement Object.create/defineProperty/defineProperties
Change-Id: I3a71597d012b5fb7d7a2f482f4a16431c71c1c22
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_engine.cpp')
-rw-r--r-- | qmljs_engine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qmljs_engine.cpp b/qmljs_engine.cpp index ea6b32a079..b0a964ff90 100644 --- a/qmljs_engine.cpp +++ b/qmljs_engine.cpp @@ -85,6 +85,12 @@ ExecutionEngine::ExecutionEngine(MemoryManager *memoryManager, EvalISelFactory * id_constructor = identifier(QStringLiteral("constructor")); id_arguments = identifier(QStringLiteral("arguments")); id___proto__ = identifier(QStringLiteral("__proto__")); + id_enumerable = identifier(QStringLiteral("enumerable")); + id_configurable = identifier(QStringLiteral("configurable")); + id_writable = identifier(QStringLiteral("writable")); + id_value = identifier(QStringLiteral("value")); + id_get = identifier(QStringLiteral("get")); + id_set = identifier(QStringLiteral("set")); objectPrototype = new (memoryManager) ObjectPrototype(); stringPrototype = new (memoryManager) StringPrototype(rootContext); |