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

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

Issue 969733003: Prefill with correct contextual load ICs in fullcodegen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't prefill if we'll serialize the code Created 5 years, 9 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/code-factory.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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 // |offset| is the offset in the stack where the home object can be found. 639 // |offset| is the offset in the stack where the home object can be found.
640 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset); 640 void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset);
641 641
642 void EmitLoadSuperConstructor(); 642 void EmitLoadSuperConstructor();
643 643
644 void CallIC(Handle<Code> code, 644 void CallIC(Handle<Code> code,
645 TypeFeedbackId id = TypeFeedbackId::None()); 645 TypeFeedbackId id = TypeFeedbackId::None());
646 646
647 void CallLoadIC(ContextualMode mode, 647 void CallLoadIC(ContextualMode mode,
648 TypeFeedbackId id = TypeFeedbackId::None()); 648 TypeFeedbackId id = TypeFeedbackId::None());
649 void CallGlobalLoadIC(Handle<String> name);
649 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 650 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
650 651
651 void SetFunctionPosition(FunctionLiteral* fun); 652 void SetFunctionPosition(FunctionLiteral* fun);
652 void SetReturnPosition(FunctionLiteral* fun); 653 void SetReturnPosition(FunctionLiteral* fun);
653 void SetStatementPosition(Statement* stmt); 654 void SetStatementPosition(Statement* stmt);
654 void SetExpressionPosition(Expression* expr); 655 void SetExpressionPosition(Expression* expr);
655 void SetSourcePosition(int pos); 656 void SetSourcePosition(int pos);
656 657
657 // Non-local control flow support. 658 // Non-local control flow support.
658 void EnterFinallyBlock(); 659 void EnterFinallyBlock();
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 1041
1041 Address start_; 1042 Address start_;
1042 Address instruction_start_; 1043 Address instruction_start_;
1043 uint32_t length_; 1044 uint32_t length_;
1044 }; 1045 };
1045 1046
1046 1047
1047 } } // namespace v8::internal 1048 } } // namespace v8::internal
1048 1049
1049 #endif // V8_FULL_CODEGEN_H_ 1050 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698