Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Side by Side Diff: src/full-codegen.cc

Issue 418143007: FYI Implementing 'super' keyword (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use private own symbol for [[HomeObject]] Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/full-codegen.h ('k') | src/heap/heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/debug.h" 9 #include "src/debug.h"
10 #include "src/full-codegen.h" 10 #include "src/full-codegen.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { 278 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) {
279 Visit(expr->left()); 279 Visit(expr->left());
280 Visit(expr->right()); 280 Visit(expr->right());
281 } 281 }
282 282
283 283
284 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { 284 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) {
285 } 285 }
286 286
287 287
288 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {}
289
290
288 #define __ ACCESS_MASM(masm()) 291 #define __ ACCESS_MASM(masm())
289 292
290 bool FullCodeGenerator::MakeCode(CompilationInfo* info) { 293 bool FullCodeGenerator::MakeCode(CompilationInfo* info) {
291 Isolate* isolate = info->isolate(); 294 Isolate* isolate = info->isolate();
292 295
293 TimerEventScope<TimerEventCompileFullCode> timer(info->isolate()); 296 TimerEventScope<TimerEventCompileFullCode> timer(info->isolate());
294 297
295 Handle<Script> script = info->script(); 298 Handle<Script> script = info->script();
296 if (!script->IsUndefined() && !script->source()->IsUndefined()) { 299 if (!script->IsUndefined() && !script->source()->IsUndefined()) {
297 int len = String::cast(script->source())->length(); 300 int len = String::cast(script->source())->length();
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 } 1685 }
1683 return true; 1686 return true;
1684 } 1687 }
1685 #endif // DEBUG 1688 #endif // DEBUG
1686 1689
1687 1690
1688 #undef __ 1691 #undef __
1689 1692
1690 1693
1691 } } // namespace v8::internal 1694 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698