Commit baac9425 authored by olehougaard's avatar olehougaard

Reintroduced a fix for an alignment issue on ARM. I had reverted it by...

Reintroduced a fix for an alignment issue on ARM. I had reverted it by mistake. This fixes the serialization test suite on ARM.
Review URL: http://codereview.chromium.org/18751

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1152 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 524e34b8
...@@ -225,8 +225,8 @@ class SnapshotReader { ...@@ -225,8 +225,8 @@ class SnapshotReader {
} }
int GetInt() { int GetInt() {
int result = *reinterpret_cast<const int*>(str_); int result;
str_ += sizeof(result); GetBytes(reinterpret_cast<Address>(&result), sizeof(result));
return result; return result;
} }
......
...@@ -33,10 +33,6 @@ test-debug/ThreadedDebugging: PASS || FAIL ...@@ -33,10 +33,6 @@ test-debug/ThreadedDebugging: PASS || FAIL
[ $arch == arm ] [ $arch == arm ]
test-debug: SKIP test-debug: SKIP
test-serialize/Deserialize: SKIP
test-serialize/DeserializeAndRunScript: SKIP
test-serialize/DeserializeNatives: SKIP
test-serialize/DeserializeExtensions: SKIP
# BUG(113): Test seems flaky on ARM. # BUG(113): Test seems flaky on ARM.
test-spaces/LargeObjectSpace: PASS || FAIL test-spaces/LargeObjectSpace: PASS || FAIL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment