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

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

Issue 154113010: Cleanup: ContextualMode doesn't need to be passed to ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ports. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 // Complete a named property assignment. The receiver is expected on top 558 // Complete a named property assignment. The receiver is expected on top
559 // of the stack and the right-hand-side value in the accumulator. 559 // of the stack and the right-hand-side value in the accumulator.
560 void EmitNamedPropertyAssignment(Assignment* expr); 560 void EmitNamedPropertyAssignment(Assignment* expr);
561 561
562 // Complete a keyed property assignment. The receiver and key are 562 // Complete a keyed property assignment. The receiver and key are
563 // expected on top of the stack and the right-hand-side value in the 563 // expected on top of the stack and the right-hand-side value in the
564 // accumulator. 564 // accumulator.
565 void EmitKeyedPropertyAssignment(Assignment* expr); 565 void EmitKeyedPropertyAssignment(Assignment* expr);
566 566
567 void CallIC(Handle<Code> code, 567 void CallIC(Handle<Code> code,
568 ContextualMode mode = NOT_CONTEXTUAL,
569 TypeFeedbackId id = TypeFeedbackId::None()); 568 TypeFeedbackId id = TypeFeedbackId::None());
570 569
571 void CallLoadIC(ContextualMode mode, 570 void CallLoadIC(ContextualMode mode,
572 TypeFeedbackId id = TypeFeedbackId::None()); 571 TypeFeedbackId id = TypeFeedbackId::None());
573 void CallStoreIC(ContextualMode mode, 572 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
574 TypeFeedbackId id = TypeFeedbackId::None());
575 573
576 void SetFunctionPosition(FunctionLiteral* fun); 574 void SetFunctionPosition(FunctionLiteral* fun);
577 void SetReturnPosition(FunctionLiteral* fun); 575 void SetReturnPosition(FunctionLiteral* fun);
578 void SetStatementPosition(Statement* stmt); 576 void SetStatementPosition(Statement* stmt);
579 void SetExpressionPosition(Expression* expr); 577 void SetExpressionPosition(Expression* expr);
580 void SetStatementPosition(int pos); 578 void SetStatementPosition(int pos);
581 void SetSourcePosition(int pos); 579 void SetSourcePosition(int pos);
582 580
583 // Non-local control flow support. 581 // Non-local control flow support.
584 void EnterFinallyBlock(); 582 void EnterFinallyBlock();
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 957
960 Address start_; 958 Address start_;
961 Address instruction_start_; 959 Address instruction_start_;
962 uint32_t length_; 960 uint32_t length_;
963 }; 961 };
964 962
965 963
966 } } // namespace v8::internal 964 } } // namespace v8::internal
967 965
968 #endif // V8_FULL_CODEGEN_H_ 966 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698