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

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

Issue 917753002: new classes: implement default constructors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase to run try jobs Created 5 years, 10 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
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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 640
641 static bool NeedsHomeObject(Expression* expr) { 641 static bool NeedsHomeObject(Expression* expr) {
642 return FunctionLiteral::NeedsHomeObject(expr); 642 return FunctionLiteral::NeedsHomeObject(expr);
643 } 643 }
644 644
645 // Adds the [[HomeObject]] to |initializer| if it is a FunctionLiteral. 645 // Adds the [[HomeObject]] to |initializer| if it is a FunctionLiteral.
646 // The value of the initializer is expected to be at the top of the stack. 646 // The value of the initializer is expected to be at the top of the stack.
647 // |offset| is the offset in the stack where the home object can be found. 647 // |offset| is the offset in the stack where the home object can be found.
648 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset); 648 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset);
649 649
650 void EmitLoadSuperConstructor(SuperReference* expr); 650 void EmitLoadSuperConstructor();
651 651
652 void CallIC(Handle<Code> code, 652 void CallIC(Handle<Code> code,
653 TypeFeedbackId id = TypeFeedbackId::None()); 653 TypeFeedbackId id = TypeFeedbackId::None());
654 654
655 void CallLoadIC(ContextualMode mode, 655 void CallLoadIC(ContextualMode mode,
656 TypeFeedbackId id = TypeFeedbackId::None()); 656 TypeFeedbackId id = TypeFeedbackId::None());
657 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 657 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
658 658
659 void SetFunctionPosition(FunctionLiteral* fun); 659 void SetFunctionPosition(FunctionLiteral* fun);
660 void SetReturnPosition(FunctionLiteral* fun); 660 void SetReturnPosition(FunctionLiteral* fun);
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 1047
1048 Address start_; 1048 Address start_;
1049 Address instruction_start_; 1049 Address instruction_start_;
1050 uint32_t length_; 1050 uint32_t length_;
1051 }; 1051 };
1052 1052
1053 1053
1054 } } // namespace v8::internal 1054 } } // namespace v8::internal
1055 1055
1056 #endif // V8_FULL_CODEGEN_H_ 1056 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/globals.h » ('j') | src/x64/code-stubs-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698