Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Issue 7582032: Allow use of ^blocks, even with the 10.5 SDK, and even with a 10.5 runtime (Closed)

Created:
9 years, 4 months ago by Mark Mentovai
Modified:
9 years, 4 months ago
Reviewers:
TVL, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Allow use of ^blocks, even with the 10.5 SDK, and even with a 10.5 runtime. BUG=91978 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95892

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -0 lines) Patch
A chrome/browser/mac/closure_blocks_leopard_compat.h View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/browser/mac/closure_blocks_leopard_compat.S View 1 2 1 chunk +127 lines, -0 lines 0 comments Download
A chrome/browser/mac/closure_blocks_leopard_compat_unittest.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mark Mentovai
TVL for review, because it’s low-level build compilery linky stuff. Nico’ll find that interesting, plus ...
9 years, 4 months ago (2011-08-08 18:30:21 UTC) #1
Nico
On 2011/08/08 18:30:21, Mark Mentovai wrote: > http://codereview.chromium.org/7582032/diff/3001/chrome/browser/mac/closure_leopard_compat/block.h#newcode26 > chrome/browser/mac/closure_leopard_compat/block.h:26: > __attribute__((weak_import)) extern void* _NSConcreteGlobalBlock[32]; ...
9 years, 4 months ago (2011-08-08 18:43:51 UTC) #2
TVL
lgtm with some comment comments. :) http://codereview.chromium.org/7582032/diff/3001/chrome/browser/mac/closure_leopard_compat/definitions.S File chrome/browser/mac/closure_leopard_compat/definitions.S (right): http://codereview.chromium.org/7582032/diff/3001/chrome/browser/mac/closure_leopard_compat/definitions.S#newcode24 chrome/browser/mac/closure_leopard_compat/definitions.S:24: # configurations. I'd ...
9 years, 4 months ago (2011-08-08 18:50:20 UTC) #3
Mark Mentovai
thakis@chromium.org wrote: > On 2011/08/08 18:30:21, Mark Mentovai wrote: > http://codereview.chromium.org/7582032/diff/3001/chrome/browser/mac/closure_leopard_compat/block.h#newcode26 >> >> chrome/browser/mac/closure_leopard_compat/block.h:26: >> ...
9 years, 4 months ago (2011-08-08 19:13:36 UTC) #4
Nico
On Mon, Aug 8, 2011 at 12:13 PM, Mark Mentovai <mark@chromium.org> wrote: > thakis@chromium.org wrote: ...
9 years, 4 months ago (2011-08-08 19:30:15 UTC) #5
Mark Mentovai
Nico Weber wrote: > Don't the bots actually run tests on 10.5? Yeah, so that’ll ...
9 years, 4 months ago (2011-08-08 19:32:53 UTC) #6
Nico
On Mon, Aug 8, 2011 at 12:32 PM, Mark Mentovai <mark@chromium.org> wrote: > Nico Weber ...
9 years, 4 months ago (2011-08-08 19:36:46 UTC) #7
Mark Mentovai
Ready for another look.
9 years, 4 months ago (2011-08-08 20:28:56 UTC) #8
Nico
LGTM Thanks for humoring me http://codereview.chromium.org/7582032/diff/7003/chrome/browser/mac/closure_blocks_leopard_compat.S File chrome/browser/mac/closure_blocks_leopard_compat.S (right): http://codereview.chromium.org/7582032/diff/7003/chrome/browser/mac/closure_blocks_leopard_compat.S#newcode27 chrome/browser/mac/closure_blocks_leopard_compat.S:27: #include <AvailabilityMacros.h> Just out ...
9 years, 4 months ago (2011-08-08 21:03:40 UTC) #9
Mark Mentovai
thakis@chromium.org wrote: > http://codereview.chromium.org/7582032/diff/7003/chrome/browser/mac/closure_blocks_leopard_compat.S#newcode27 > chrome/browser/mac/closure_blocks_leopard_compat.S:27: #include > <AvailabilityMacros.h> > Just out of curiosity, why ...
9 years, 4 months ago (2011-08-08 21:11:24 UTC) #10
Mark Mentovai
9 years, 4 months ago (2011-08-08 22:14:35 UTC) #11
I did some local testing with clang and found that it respects the user-provided
declaration of _NSConcrete{Global,Stack}Block the same way that GCC does. I
added a comment mentioning this.

Powered by Google App Engine
This is Rietveld 408576698