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

Unified Diff: src/x64/lithium-x64.h

Issue 6240012: Optimize calls to object literal properties that are initialized with a funct... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: added x64 and arm code. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: src/x64/lithium-x64.h
===================================================================
--- src/x64/lithium-x64.h (revision 6540)
+++ src/x64/lithium-x64.h (working copy)
@@ -255,6 +255,7 @@
V(StoreNamedGeneric) \
V(SubI) \
V(TaggedToI) \
+ V(ToFastProperties) \
V(Throw) \
V(Typeof) \
V(TypeofIs) \
@@ -1688,6 +1689,17 @@
};
+class LToFastProperties: public LTemplateInstruction<0, 1, 0> {
+ public:
+ explicit LToFastProperties(LOperand* value) {
+ inputs_[0] = value;
+ }
+
+ DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
+ DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
+};
+
+
class LTypeof: public LTemplateInstruction<1, 1, 0> {
public:
explicit LTypeof(LOperand* value) {

Powered by Google App Engine
This is Rietveld 408576698