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

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

Issue 923443003: new classes: no longer experimental. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: One more rebase? 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
« no previous file with comments | « src/flag-definitions.h ('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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(); 650 void EmitLoadSuperConstructor();
651 bool ValidateSuperCall(Call* expr);
651 652
652 void CallIC(Handle<Code> code, 653 void CallIC(Handle<Code> code,
653 TypeFeedbackId id = TypeFeedbackId::None()); 654 TypeFeedbackId id = TypeFeedbackId::None());
654 655
655 void CallLoadIC(ContextualMode mode, 656 void CallLoadIC(ContextualMode mode,
656 TypeFeedbackId id = TypeFeedbackId::None()); 657 TypeFeedbackId id = TypeFeedbackId::None());
657 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 658 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
658 659
659 void SetFunctionPosition(FunctionLiteral* fun); 660 void SetFunctionPosition(FunctionLiteral* fun);
660 void SetReturnPosition(FunctionLiteral* fun); 661 void SetReturnPosition(FunctionLiteral* fun);
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 1048
1048 Address start_; 1049 Address start_;
1049 Address instruction_start_; 1050 Address instruction_start_;
1050 uint32_t length_; 1051 uint32_t length_;
1051 }; 1052 };
1052 1053
1053 1054
1054 } } // namespace v8::internal 1055 } } // namespace v8::internal
1055 1056
1056 #endif // V8_FULL_CODEGEN_H_ 1057 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698