Revision: 18952
Author: [email protected]
Date: Thu Jan 30 15:11:19 2014 UTC
Log: A64: Add support for --stress_pointer_maps and
--stress_environments.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/144853005
http://code.google.com/p/v8/source/detail?r=18952
Modified:
/branches/experimental/a64/src/a64/lithium-a64.cc
=======================================
--- /branches/experimental/a64/src/a64/lithium-a64.cc Thu Jan 30 12:51:12
2014 UTC
+++ /branches/experimental/a64/src/a64/lithium-a64.cc Thu Jan 30 15:11:19
2014 UTC
@@ -717,8 +717,12 @@
}
#endif
- // TODO(all): Add support for FLAG_stress_pointer_maps and
- // FLAG_stress_environments.
+ if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) {
+ instr = AssignPointerMap(instr);
+ }
+ if (FLAG_stress_environments && !instr->HasEnvironment()) {
+ instr = AssignEnvironment(instr);
+ }
instr->set_hydrogen_value(current);
chunk_->AddInstruction(instr, current_block_);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.