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

Unified Diff: src/hydrogen-instructions.h

Issue 55933002: Inline array constructor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment response, inline tracing, and making HForceRepresentation idef Created 7 years, 1 month 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
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 80773bf14789e8524dc4c46184588641d6396495..cac1ea5f43989bc606dd4ec809dc61386c570a6d 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -1576,6 +1576,9 @@ class HForceRepresentation V8_FINAL : public HTemplateInstruction<1> {
DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation)
+ protected:
+ virtual int RedefinedOperandIndex() { return 0; }
Toon Verwaest 2013/11/11 13:59:28 Why is this needed? HForceRepresentation is explic
mvstanton 2013/11/13 14:12:52 It's done so we can make optimizations based on se
+
private:
HForceRepresentation(HValue* value, Representation required_representation) {
SetOperandAt(0, value);

Powered by Google App Engine
This is Rietveld 408576698