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

Unified Diff: src/hydrogen-instructions.h

Issue 6026006: Simple support for const variables in Crankshaft.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: src/hydrogen-instructions.h
===================================================================
--- src/hydrogen-instructions.h (revision 6080)
+++ src/hydrogen-instructions.h (working copy)
@@ -129,6 +129,7 @@
// HCheckPrototypeMaps
// HCheckSmi
// HDeleteProperty
+// HInitConst
// HLoadElements
// HTypeofIs
// HLoadNamedField
@@ -207,6 +208,7 @@
V(GlobalObject) \
V(GlobalReceiver) \
V(Goto) \
+ V(InitConst) \
V(InstanceOf) \
V(IsNull) \
V(IsObject) \
@@ -961,6 +963,13 @@
};
+class HInitConst: public HUnaryOperation {
+ public:
+ explicit HInitConst(HValue* old_value) : HUnaryOperation(old_value) { }
+ DECLARE_CONCRETE_INSTRUCTION(InitConst, "init_const")
+};
+
+
class HChange: public HUnaryOperation {
public:
HChange(HValue* value,
« src/hydrogen.cc ('K') | « src/hydrogen.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698