diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-13 20:45:44 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-13 20:56:54 +0400 |
commit | 1c7bf245dc2d520c005e01bcb56ecb3275971395 (patch) | |
tree | 34d8160c98bd8dd33757252d87a0f6586fea8213 /deps/v8/src/rewriter.cc | |
parent | 93c3674ff7115fb2a3dbb5b4ffd22f4d5ed9a472 (diff) | |
download | node-new-1c7bf245dc2d520c005e01bcb56ecb3275971395.tar.gz |
deps: update v8 to 3.24.40
Diffstat (limited to 'deps/v8/src/rewriter.cc')
-rw-r--r-- | deps/v8/src/rewriter.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/deps/v8/src/rewriter.cc b/deps/v8/src/rewriter.cc index 70b362fd7d..2b68ed1c90 100644 --- a/deps/v8/src/rewriter.cc +++ b/deps/v8/src/rewriter.cc @@ -43,8 +43,8 @@ class Processor: public AstVisitor { result_assigned_(false), is_set_(false), in_try_(false), - factory_(zone->isolate(), zone) { - InitializeAstVisitor(zone->isolate()); + factory_(zone) { + InitializeAstVisitor(zone); } virtual ~Processor() { } @@ -207,11 +207,6 @@ void Processor::VisitSwitchStatement(SwitchStatement* node) { } -void Processor::VisitCaseClause(CaseClause* clause) { - UNREACHABLE(); -} - - void Processor::VisitContinueStatement(ContinueStatement* node) { is_set_ = false; } @@ -263,7 +258,7 @@ bool Rewriter::Rewrite(CompilationInfo* info) { ZoneList<Statement*>* body = function->body(); if (!body->is_empty()) { Variable* result = scope->NewTemporary( - info->isolate()->factory()->result_string()); + info->isolate()->factory()->dot_result_string()); Processor processor(result, info->zone()); processor.Process(body); if (processor.HasStackOverflow()) return false; |