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

Issue 113035: Make check in GetExternalString a runtime check instead of ASSERT.... (Closed)

Created:
11 years, 7 months ago by DaveMoore
Modified:
9 years, 7 months ago
Reviewers:
iposva
CC:
v8-dev
Visibility:
Public.

Description

Make check in GetExternalString a runtime check instead of ASSERT. This will allow us to remove the separate call to IsExternal() from our chrome client code, speeding up the combination. Committed: http://code.google.com/p/v8/source/detail?r=1887

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M include/v8.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/api.cc View 2 3 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
DaveMoore
11 years, 7 months ago (2009-05-06 17:57:45 UTC) #1
iposva
Please update the documentation in include/v8.h as well. -Ivan
11 years, 7 months ago (2009-05-06 18:04:44 UTC) #2
DaveMoore
I also added a change to cache whether we're initialized, allowing us to inline that ...
11 years, 7 months ago (2009-05-06 18:14:28 UTC) #3
DaveMoore
Done On 2009/05/06 18:04:44, iposva wrote: > Please update the documentation in include/v8.h as well. ...
11 years, 7 months ago (2009-05-06 18:18:09 UTC) #4
iposva
http://codereview.chromium.org/113035/diff/1002/1003 File src/api.cc (right): http://codereview.chromium.org/113035/diff/1002/1003#newcode211 Line 211: if (IsDeadCheck(location)) return; This optimization will not work ...
11 years, 7 months ago (2009-05-06 18:20:05 UTC) #5
DaveMoore
Done. On 2009/05/06 18:20:05, iposva wrote: > http://codereview.chromium.org/113035/diff/1002/1003 > File src/api.cc (right): > > http://codereview.chromium.org/113035/diff/1002/1003#newcode211 ...
11 years, 7 months ago (2009-05-06 18:23:31 UTC) #6
iposva
11 years, 7 months ago (2009-05-06 18:26:20 UTC) #7
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698