implement Math.pow

this patch pass math-cordic.js  math-partial-sums.js  math-spectral-norm.js

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2016-12-09 15:09:55 +09:00
commit fc16b3a774
3 changed files with 83 additions and 4 deletions

View file

@ -47,9 +47,6 @@ CodeBlock* ScriptParser::generateCodeBlockTreeFromASTWalker(Context* ctx, String
if (!codeBlock->hasName(uname)) {
CodeBlock* c = codeBlock->parentCodeBlock();
while (c) {
if (uname.string()->equals("green")) {
puts("sadf");
}
if (c->tryCaptureIdentifiersFromChildCodeBlock(uname))
break;
c = c->parentCodeBlock();