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

Side by Side Diff: src/x64/lithium-x64.h

Issue 8111006: Allow new-space JSFunction objects as constant-function properties. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: rebased Created 9 years 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 LOperand* string() { return inputs_[0]; } 1774 LOperand* string() { return inputs_[0]; }
1775 }; 1775 };
1776 1776
1777 1777
1778 class LCheckFunction: public LTemplateInstruction<0, 1, 0> { 1778 class LCheckFunction: public LTemplateInstruction<0, 1, 0> {
1779 public: 1779 public:
1780 explicit LCheckFunction(LOperand* value) { 1780 explicit LCheckFunction(LOperand* value) {
1781 inputs_[0] = value; 1781 inputs_[0] = value;
1782 } 1782 }
1783 1783
1784 LOperand* value() { return InputAt(0); }
1785
1784 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") 1786 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function")
1785 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) 1787 DECLARE_HYDROGEN_ACCESSOR(CheckFunction)
1786 }; 1788 };
1787 1789
1788 1790
1789 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { 1791 class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> {
1790 public: 1792 public:
1791 explicit LCheckInstanceType(LOperand* value) { 1793 explicit LCheckInstanceType(LOperand* value) {
1792 inputs_[0] = value; 1794 inputs_[0] = value;
1793 } 1795 }
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 2244
2243 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2245 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2244 }; 2246 };
2245 2247
2246 #undef DECLARE_HYDROGEN_ACCESSOR 2248 #undef DECLARE_HYDROGEN_ACCESSOR
2247 #undef DECLARE_CONCRETE_INSTRUCTION 2249 #undef DECLARE_CONCRETE_INSTRUCTION
2248 2250
2249 } } // namespace v8::int 2251 } } // namespace v8::int
2250 2252
2251 #endif // V8_X64_LITHIUM_X64_H_ 2253 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698