Revision: 4414
Author: [email protected]
Date: Wed Apr 14 03:38:03 2010
Log: Move const declarations out of if in assembler-x64.cc (correcting
linux64 bit compile error)
Review URL: http://codereview.chromium.org/1595028
http://code.google.com/p/v8/source/detail?r=4414
Modified:
/branches/bleeding_edge/src/x64/assembler-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/assembler-x64.cc Wed Apr 14 01:54:08
2010
+++ /branches/bleeding_edge/src/x64/assembler-x64.cc Wed Apr 14 03:38:03
2010
@@ -1138,9 +1138,9 @@
void Assembler::jmp(Label* L) {
EnsureSpace ensure_space(this);
last_pc_ = pc_;
+ const int short_size = sizeof(int8_t);
+ const int long_size = sizeof(int32_t);
if (L->is_bound()) {
- const int short_size = sizeof(int8_t);
- const int long_size = sizeof(int32_t);
int offs = L->pos() - pc_offset() - 1;
ASSERT(offs <= 0);
if (is_int8(offs - short_size)) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe, reply using "remove me" as the subject.