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

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

Issue 408183003: Express LoadIC extra ic state with LoadIC::State (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/disassembler.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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 void EmitNamedPropertyAssignment(Assignment* expr); 556 void EmitNamedPropertyAssignment(Assignment* expr);
557 557
558 // Complete a keyed property assignment. The receiver and key are 558 // Complete a keyed property assignment. The receiver and key are
559 // expected on top of the stack and the right-hand-side value in the 559 // expected on top of the stack and the right-hand-side value in the
560 // accumulator. 560 // accumulator.
561 void EmitKeyedPropertyAssignment(Assignment* expr); 561 void EmitKeyedPropertyAssignment(Assignment* expr);
562 562
563 void CallIC(Handle<Code> code, 563 void CallIC(Handle<Code> code,
564 TypeFeedbackId id = TypeFeedbackId::None()); 564 TypeFeedbackId id = TypeFeedbackId::None());
565 565
566 void CallLoadIC(ContextualMode mode, 566 void CallLoadIC(TypeofState typeof_state = INSIDE_TYPEOF,
567 TypeFeedbackId id = TypeFeedbackId::None()); 567 TypeFeedbackId id = TypeFeedbackId::None());
568 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 568 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
569 569
570 void SetFunctionPosition(FunctionLiteral* fun); 570 void SetFunctionPosition(FunctionLiteral* fun);
571 void SetReturnPosition(FunctionLiteral* fun); 571 void SetReturnPosition(FunctionLiteral* fun);
572 void SetStatementPosition(Statement* stmt); 572 void SetStatementPosition(Statement* stmt);
573 void SetExpressionPosition(Expression* expr); 573 void SetExpressionPosition(Expression* expr);
574 void SetSourcePosition(int pos); 574 void SetSourcePosition(int pos);
575 575
576 // Non-local control flow support. 576 // Non-local control flow support.
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 942
943 Address start_; 943 Address start_;
944 Address instruction_start_; 944 Address instruction_start_;
945 uint32_t length_; 945 uint32_t length_;
946 }; 946 };
947 947
948 948
949 } } // namespace v8::internal 949 } } // namespace v8::internal
950 950
951 #endif // V8_FULL_CODEGEN_H_ 951 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698