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

Issue 5614004: Use the PushIfAbsent function for the JSON stringify stack.... (Closed)

Created:
10 years ago by sandholm
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Use the PushIfAbsent function for the JSON stringify stack. Optimize ConvertToString.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -38 lines) Patch
M src/array.js View 1 2 chunks +15 lines, -18 lines 0 comments Download
M src/json.js View 4 chunks +4 lines, -18 lines 0 comments Download
M src/runtime.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sandholm
10 years ago (2010-12-07 18:21:56 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/5614004/diff/1/src/array.js File src/array.js (right): http://codereview.chromium.org/5614004/diff/1/src/array.js#newcode350 src/array.js:350: return Join(this, TO_UINT32(this.length), ',', ConvertToString); I know this ...
10 years ago (2010-12-08 08:50:20 UTC) #2
sandholm
10 years ago (2010-12-08 09:06:23 UTC) #3
http://codereview.chromium.org/5614004/diff/1/src/array.js
File src/array.js (right):

http://codereview.chromium.org/5614004/diff/1/src/array.js#newcode350
src/array.js:350: return Join(this, TO_UINT32(this.length), ',',
ConvertToString);
On 2010/12/08 08:50:20, Erik Corry wrote:
> I know this is what the spec says, but how can this make a difference?  We
> already checked it was an array.

You are right. I'll take it out again.

Powered by Google App Engine
This is Rietveld 408576698