diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-11-16 19:13:52 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-11-16 19:14:14 -0800 |
commit | 03fa258df7d9e642c3ccac82d27c9c8167681cce (patch) | |
tree | 09dcbd2f391b2e81c0f50c9e2f37afd94fc1479f /deps/v8/src/x64/assembler-x64.h | |
parent | cea3a95f9fe6faaa504542d4f03349739d08a0f3 (diff) | |
download | node-new-03fa258df7d9e642c3ccac82d27c9c8167681cce.tar.gz |
Revert "Upgrade V8 to 2.5.6"
This reverts commit 564a48643bd3edc6da845e458277a54c8068d0e2.
Breaks cygwin
Diffstat (limited to 'deps/v8/src/x64/assembler-x64.h')
-rw-r--r-- | deps/v8/src/x64/assembler-x64.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/deps/v8/src/x64/assembler-x64.h b/deps/v8/src/x64/assembler-x64.h index c7f763222e..bbc1010627 100644 --- a/deps/v8/src/x64/assembler-x64.h +++ b/deps/v8/src/x64/assembler-x64.h @@ -1174,9 +1174,13 @@ class Assembler : public Malloced { // Use --debug_code to enable. void RecordComment(const char* msg); - int pc_offset() const { return static_cast<int>(pc_ - buffer_); } + void RecordPosition(int pos); + void RecordStatementPosition(int pos); + bool WriteRecordedPositions(); - PositionsRecorder* positions_recorder() { return &positions_recorder_; } + int pc_offset() const { return static_cast<int>(pc_ - buffer_); } + int current_statement_position() const { return current_statement_position_; } + int current_position() const { return current_position_; } // Check if there is less than kGap bytes available in the buffer. // If this is the case, we need to grow the buffer before emitting @@ -1400,8 +1404,11 @@ class Assembler : public Malloced { // push-pop elimination byte* last_pc_; - PositionsRecorder positions_recorder_; - friend class PositionsRecorder; + // source position information + int current_statement_position_; + int current_position_; + int written_statement_position_; + int written_position_; }; |