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

Side by Side Diff: src/typing.cc

Issue 1206263002: Revert of Reland "Keep a canonical list of shared function infos." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « src/snapshot/serialize.cc ('k') | src/x64/full-codegen-x64.cc » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/typing.h" 5 #include "src/typing.h"
6 6
7 #include "src/frames.h" 7 #include "src/frames.h"
8 #include "src/frames-inl.h" 8 #include "src/frames-inl.h"
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 store_.Forget(); // Control may transfer here via 'throw'. 339 store_.Forget(); // Control may transfer here via 'throw'.
340 RECURSE(Visit(stmt->finally_block())); 340 RECURSE(Visit(stmt->finally_block()));
341 } 341 }
342 342
343 343
344 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { 344 void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) {
345 store_.Forget(); // May do whatever. 345 store_.Forget(); // May do whatever.
346 } 346 }
347 347
348 348
349 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} 349 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {
350 expr->InitializeSharedInfo(Handle<Code>(info_->closure()->shared()->code()));
351 }
350 352
351 353
352 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} 354 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {}
353 355
354 356
355 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { 357 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) {
356 } 358 }
357 359
358 360
359 void AstTyper::VisitConditional(Conditional* expr) { 361 void AstTyper::VisitConditional(Conditional* expr) {
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { 787 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) {
786 } 788 }
787 789
788 790
789 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { 791 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) {
790 } 792 }
791 793
792 794
793 } // namespace internal 795 } // namespace internal
794 } // namespace v8 796 } // namespace v8
OLDNEW
« no previous file with comments | « src/snapshot/serialize.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698