Closed Bug 778306 Opened 12 years ago Closed 11 years ago

Replace MoveRef with c++11's rvalue references

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 896100

People

(Reporter: espindola, Unassigned)

References

Details

(Whiteboard: [js:p3])

It looks like the compilers we use on Linux (even android's gcc 4.4), OS X and windows support rvalue references. We can probably replace js' MoveRef class with it.
If it compiles everywhere we want it to compile, I'm happy to use it!
The js engine is not compiled with -std=c++0x or -std=c++11, right?  So we can't use move semantics.
Whiteboard: [js:p3]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.