Revision: 4452
Author: [email protected]
Date: Wed Apr 21 00:32:04 2010
Log: Return the correct statement position.
Whether this was a typo or a deliberate decision at some point I don't
know. Anyway it was wrong.
[email protected]
Review URL: http://codereview.chromium.org/1752001
http://code.google.com/p/v8/source/detail?r=4452
Modified:
/branches/bleeding_edge/src/arm/assembler-arm.h
/branches/bleeding_edge/src/arm/assembler-thumb2.h
/branches/bleeding_edge/src/mips/assembler-mips.h
=======================================
--- /branches/bleeding_edge/src/arm/assembler-arm.h Tue Mar 23 06:38:04 2010
+++ /branches/bleeding_edge/src/arm/assembler-arm.h Wed Apr 21 00:32:04 2010
@@ -944,7 +944,7 @@
int pc_offset() const { return pc_ - buffer_; }
int current_position() const { return current_position_; }
- int current_statement_position() const { return current_position_; }
+ int current_statement_position() const { return
current_statement_position_; }
protected:
int buffer_space() const { return reloc_info_writer.pos() - pc_; }
=======================================
--- /branches/bleeding_edge/src/arm/assembler-thumb2.h Tue Feb 16 03:40:56
2010
+++ /branches/bleeding_edge/src/arm/assembler-thumb2.h Wed Apr 21 00:32:04
2010
@@ -898,7 +898,7 @@
int pc_offset() const { return pc_ - buffer_; }
int current_position() const { return current_position_; }
- int current_statement_position() const { return current_position_; }
+ int current_statement_position() const { return
current_statement_position_; }
protected:
int buffer_space() const { return reloc_info_writer.pos() - pc_; }
=======================================
--- /branches/bleeding_edge/src/mips/assembler-mips.h Thu Feb 4 12:36:58
2010
+++ /branches/bleeding_edge/src/mips/assembler-mips.h Wed Apr 21 00:32:04
2010
@@ -522,7 +522,9 @@
int32_t pc_offset() const { return pc_ - buffer_; }
int32_t current_position() const { return current_position_; }
- int32_t current_statement_position() const { return current_position_; }
+ int32_t current_statement_position() const {
+ return current_statement_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
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev