author | Ryan Pearl <rpearl@mozilla.com> |
Fri, 12 Aug 2011 14:21:22 -0700 | |
changeset 108720 | f7076b6bc9c91496facb3174e29de9263f7b6589 |
parent 108719 | f82e7d7508f8d11b8fbaecfe769a965f48a25053 |
child 108721 | a43711f75e378f40c107dc654dcbdfafa5466c20 |
push id | 2248 |
push user | akeybl@mozilla.com |
push date | Mon, 08 Oct 2012 19:23:44 +0000 |
treeherder | mozilla-aurora@118a3b748323 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dvander |
milestone | 8.0a1 |
js/src/ion/MIR.h | file | annotate | diff | comparison | revisions |
--- a/js/src/ion/MIR.h +++ b/js/src/ion/MIR.h @@ -840,16 +840,17 @@ class MCopy : public MUnaryInstruction }; // Takes a typed value and returns an untyped value. class MBox : public MUnaryInstruction { MBox(MDefinition *ins) : MUnaryInstruction(ins) { + setIdempotent(); setResultType(MIRType_Value); } public: INSTRUCTION_HEADER(Box); static MBox *New(MDefinition *ins) { // Cannot box a box.