A field might be incorrectly set, causing registers to be pushed and popped
instead of just cleared on backtrack - or, worse, the other way around! git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
db1896c253
commit
01198feda3
@ -1105,7 +1105,8 @@ class Trace {
|
||||
public:
|
||||
DeferredCapture(int reg, bool is_capture, Trace* trace)
|
||||
: DeferredAction(ActionNode::STORE_POSITION, reg),
|
||||
cp_offset_(trace->cp_offset()) { }
|
||||
cp_offset_(trace->cp_offset()),
|
||||
is_capture_(is_capture) { }
|
||||
int cp_offset() { return cp_offset_; }
|
||||
bool is_capture() { return is_capture_; }
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user