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

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

Issue 1146863007: [es6] Super call in arrows and eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/compiler/ast-loop-assignment-analyzer.cc ('k') | src/full-codegen.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 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 #ifndef V8_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 return FunctionLiteral::NeedsHomeObject(expr); 665 return FunctionLiteral::NeedsHomeObject(expr);
666 } 666 }
667 667
668 // Adds the [[HomeObject]] to |initializer| if it is a FunctionLiteral. 668 // Adds the [[HomeObject]] to |initializer| if it is a FunctionLiteral.
669 // The value of the initializer is expected to be at the top of the stack. 669 // The value of the initializer is expected to be at the top of the stack.
670 // |offset| is the offset in the stack where the home object can be found. 670 // |offset| is the offset in the stack where the home object can be found.
671 void EmitSetHomeObjectIfNeeded( 671 void EmitSetHomeObjectIfNeeded(
672 Expression* initializer, int offset, 672 Expression* initializer, int offset,
673 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); 673 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid());
674 674
675 void EmitLoadSuperConstructor(); 675 void EmitLoadSuperConstructor(SuperCallReference* super_call_ref);
676 void EmitInitializeThisAfterSuper( 676 void EmitInitializeThisAfterSuper(
677 SuperReference* super_ref, 677 SuperCallReference* super_call_ref,
678 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid()); 678 FeedbackVectorICSlot slot = FeedbackVectorICSlot::Invalid());
679 679
680 void CallIC(Handle<Code> code, 680 void CallIC(Handle<Code> code,
681 TypeFeedbackId id = TypeFeedbackId::None()); 681 TypeFeedbackId id = TypeFeedbackId::None());
682 682
683 void CallLoadIC(ContextualMode mode, 683 void CallLoadIC(ContextualMode mode,
684 TypeFeedbackId id = TypeFeedbackId::None()); 684 TypeFeedbackId id = TypeFeedbackId::None());
685 void CallGlobalLoadIC(Handle<String> name); 685 void CallGlobalLoadIC(Handle<String> name);
686 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 686 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
687 687
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 1086
1087 Address start_; 1087 Address start_;
1088 Address instruction_start_; 1088 Address instruction_start_;
1089 uint32_t length_; 1089 uint32_t length_;
1090 }; 1090 };
1091 1091
1092 1092
1093 } } // namespace v8::internal 1093 } } // namespace v8::internal
1094 1094
1095 #endif // V8_FULL_CODEGEN_H_ 1095 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-loop-assignment-analyzer.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698