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

Side by Side Diff: src/ast.h

Issue 137083002: Get rid of ContextualMode for call ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Restore HCallGlobal until a follow-up CL Created 6 years, 11 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/lithium-codegen-arm.cc ('k') | src/ast.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 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 1730
1731 class Call V8_FINAL : public Expression { 1731 class Call V8_FINAL : public Expression {
1732 public: 1732 public:
1733 DECLARE_NODE_TYPE(Call) 1733 DECLARE_NODE_TYPE(Call)
1734 1734
1735 Expression* expression() const { return expression_; } 1735 Expression* expression() const { return expression_; }
1736 ZoneList<Expression*>* arguments() const { return arguments_; } 1736 ZoneList<Expression*>* arguments() const { return arguments_; }
1737 1737
1738 // Type feedback information. 1738 // Type feedback information.
1739 TypeFeedbackId CallFeedbackId() const { return reuse(id()); } 1739 TypeFeedbackId CallFeedbackId() const { return reuse(id()); }
1740 void RecordTypeFeedback(TypeFeedbackOracle* oracle, 1740 void RecordTypeFeedback(TypeFeedbackOracle* oracle);
1741 ContextualMode contextual_mode);
1742 virtual SmallMapList* GetReceiverTypes() V8_OVERRIDE { 1741 virtual SmallMapList* GetReceiverTypes() V8_OVERRIDE {
1743 return &receiver_types_; 1742 return &receiver_types_;
1744 } 1743 }
1745 virtual bool IsMonomorphic() V8_OVERRIDE { return is_monomorphic_; } 1744 virtual bool IsMonomorphic() V8_OVERRIDE { return is_monomorphic_; }
1746 bool KeyedArrayCallIsHoley() { return keyed_array_call_is_holey_; } 1745 bool KeyedArrayCallIsHoley() { return keyed_array_call_is_holey_; }
1747 CheckType check_type() const { return check_type_; } 1746 CheckType check_type() const { return check_type_; }
1748 1747
1749 void set_string_check(Handle<JSObject> holder) { 1748 void set_string_check(Handle<JSObject> holder) {
1750 holder_ = holder; 1749 holder_ = holder;
1751 check_type_ = STRING_CHECK; 1750 check_type_ = STRING_CHECK;
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
3300 private: 3299 private:
3301 Isolate* isolate_; 3300 Isolate* isolate_;
3302 Zone* zone_; 3301 Zone* zone_;
3303 Visitor visitor_; 3302 Visitor visitor_;
3304 }; 3303 };
3305 3304
3306 3305
3307 } } // namespace v8::internal 3306 } } // namespace v8::internal
3308 3307
3309 #endif // V8_AST_H_ 3308 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698