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

Side by Side Diff: src/hydrogen.h

Issue 128683002: Array constructor can be simplified by loading context from JSFunction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Simple ports. 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/code-stubs-hydrogen.cc ('k') | src/hydrogen.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 1756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1767 1767
1768 void BuildCreateAllocationMemento(HValue* previous_object, 1768 void BuildCreateAllocationMemento(HValue* previous_object,
1769 HValue* previous_object_size, 1769 HValue* previous_object_size,
1770 HValue* payload); 1770 HValue* payload);
1771 1771
1772 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant, 1772 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant,
1773 CompilationInfo* info); 1773 CompilationInfo* info);
1774 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, 1774 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype,
1775 Handle<JSObject> holder); 1775 Handle<JSObject> holder);
1776 1776
1777 HInstruction* BuildGetNativeContext(HValue* closure);
1777 HInstruction* BuildGetNativeContext(); 1778 HInstruction* BuildGetNativeContext();
1778 HInstruction* BuildGetArrayFunction(); 1779 HInstruction* BuildGetArrayFunction();
1779 1780
1780 protected: 1781 protected:
1781 void SetSourcePosition(int position) { 1782 void SetSourcePosition(int position) {
1782 ASSERT(position != RelocInfo::kNoPosition); 1783 ASSERT(position != RelocInfo::kNoPosition);
1783 position_ = position; 1784 position_ = position;
1784 } 1785 }
1785 1786
1786 template <typename ViewClass> 1787 template <typename ViewClass>
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
2689 } 2690 }
2690 2691
2691 private: 2692 private:
2692 HGraphBuilder* builder_; 2693 HGraphBuilder* builder_;
2693 }; 2694 };
2694 2695
2695 2696
2696 } } // namespace v8::internal 2697 } } // namespace v8::internal
2697 2698
2698 #endif // V8_HYDROGEN_H_ 2699 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698