diff options
Diffstat (limited to 'Source/JavaScriptCore')
-rw-r--r-- | Source/JavaScriptCore/ChangeLog | 13 | ||||
-rw-r--r-- | Source/JavaScriptCore/offlineasm/offsets.rb | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index c096c4bd0..0387dcecd 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,3 +1,16 @@ +2012-10-25 Simon Hausmann <simon.hausmann@digia.com> + + [WIN] Make LLInt offsets extractor work on Windows + https://bugs.webkit.org/show_bug.cgi?id=100369 + + Reviewed by NOBODY (OOPS!). + + Open the input file explicitly in binary mode to prevent ruby/Windows from thinking that + it's a text mode file that needs even new line conversions. The binary mode parameter is + ignored on other platforms. + + * offlineasm/offsets.rb: + 2012-10-23 Mark Lam <mark.lam@apple.com> Make topCallFrame reliable. diff --git a/Source/JavaScriptCore/offlineasm/offsets.rb b/Source/JavaScriptCore/offlineasm/offsets.rb index cb09918cd..50b963b72 100644 --- a/Source/JavaScriptCore/offlineasm/offsets.rb +++ b/Source/JavaScriptCore/offlineasm/offsets.rb @@ -105,7 +105,7 @@ def offsetsAndConfigurationIndex(file) fileBytes = [] - File.open(file, "r") { + File.open(file, "rb") { | inp | loop { byte = inp.getbyte |