Skip to content

Commit

Permalink
Do not patch the cast for NoBarrier_Store in v8/src/debug.cc to reint…
Browse files Browse the repository at this point in the history
…erpret_cast<> and back to static_cast<> again.

This works when building with Clang but not with GCC (which only sees the second part of the patch dance).

Should fix GCC builds (FreeBSD 8/9-i386, more?)
  • Loading branch information
René Ladan committed Apr 28, 2015
1 parent 0b7dd7b commit ffe58d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions www/chromium/files/extra-patch-clang
Expand Up @@ -242,17 +242,6 @@
}

bool AudioCodingImpl::RegisterReceiveCodec(AudioDecoder* receive_codec) {
--- v8/src/debug.cc 2015-04-15 00:32:36.000000000 +0200
+++ v8/src/debug.cc 2015-04-18 22:14:03.000000000 +0200
@@ -573,7 +573,7 @@
thread_local_.step_out_fp_ = 0;
// TODO(isolates): frames_are_dropped_?
base::NoBarrier_Store(&thread_local_.current_debug_scope_,
- static_cast<base::AtomicWord>(0));
+ reinterpret_cast<base::AtomicWord>(0));
thread_local_.restarter_frame_function_pointer_ = NULL;
}

--- v8/src/runtime/runtime-i18n.cc 2015-04-15 00:32:37.000000000 +0200
+++ v8/src/runtime/runtime-i18n.cc 2015-04-18 22:06:17.000000000 +0200
@@ -627,7 +627,7 @@
Expand Down
11 changes: 0 additions & 11 deletions www/chromium/files/patch-v8__src__debug.cc

This file was deleted.

0 comments on commit ffe58d8

Please sign in to comment.