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

Issue 216633002: Reduce type-impedance for ExceptionMessages::failedTo* functions (Closed)

Created:
6 years, 9 months ago by fs
Modified:
6 years, 9 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Visibility:
Public.

Description

Reduce type-impedance for ExceptionMessages::failedTo* functions These functions are always called with string literals, so having the functions accept Strings means all callers have to perform implicit conversions. By modifying the signatures to use 'const char*' for these cases, these conversion can be avoided (in the callers) and only be performed in the functions themselves. This reduces code size by ~70kB (Linux, x86-64, gcc-4.8.2). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170304

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -30 lines) Patch
M Source/bindings/v8/ExceptionMessages.h View 1 chunk +11 lines, -11 lines 0 comments Download
M Source/bindings/v8/ExceptionMessages.cpp View 1 chunk +19 lines, -19 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
6 years, 9 months ago (2014-03-28 08:35:35 UTC) #1
haraken
LGTM
6 years, 9 months ago (2014-03-28 08:37:06 UTC) #2
fs
The CQ bit was checked by fs@opera.com
6 years, 9 months ago (2014-03-28 08:42:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/216633002/1
6 years, 9 months ago (2014-03-28 08:42:16 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 09:39:07 UTC) #5
Message was sent while issue was closed.
Change committed as 170304

Powered by Google App Engine
This is Rietveld 408576698