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

Issue 11411341: Fix for issue 7089 (Symbols::New was not quite working correctly (Closed)

Created:
8 years ago by siva
Modified:
8 years ago
Reviewers:
cshapiro
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix for issue 7089 (Symbols::New was not quite working correctly when there are non ASCII Latin-1 characters in the string). Committed: https://code.google.com/p/dart/source/detail?r=15711

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -51 lines) Patch
M vm/dart_api_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M vm/double_conversion.cc View 1 2 3 4 5 6 3 chunks +3 lines, -6 lines 0 comments Download
M vm/object.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -2 lines 0 comments Download
M vm/object.cc View 1 2 3 4 5 6 2 chunks +15 lines, -8 lines 0 comments Download
M vm/object_test.cc View 1 2 3 4 5 6 7 chunks +11 lines, -9 lines 0 comments Download
M vm/raw_object_snapshot.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M vm/scanner.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M vm/symbols.h View 1 2 3 4 5 6 7 3 chunks +22 lines, -4 lines 0 comments Download
M vm/symbols.cc View 1 2 3 4 5 6 4 chunks +43 lines, -18 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
siva
8 years ago (2012-12-03 23:53:23 UTC) #1
cshapiro
lgtm with important comments https://codereview.chromium.org/11411341/diff/8/vm/dart_api_impl.cc File vm/dart_api_impl.cc (right): https://codereview.chromium.org/11411341/diff/8/vm/dart_api_impl.cc#newcode1565 vm/dart_api_impl.cc:1565: return Api::NewHandle(isolate, String::NewFromUTF8(utf8_array, length)); This ...
8 years ago (2012-12-04 00:41:07 UTC) #2
siva
PTAL https://codereview.chromium.org/11411341/diff/8/vm/dart_api_impl.cc File vm/dart_api_impl.cc (right): https://codereview.chromium.org/11411341/diff/8/vm/dart_api_impl.cc#newcode1565 vm/dart_api_impl.cc:1565: return Api::NewHandle(isolate, String::NewFromUTF8(utf8_array, length)); On 2012/12/04 00:41:07, cshapiro ...
8 years ago (2012-12-04 00:55:57 UTC) #3
cshapiro
What is the motivation for breaking out the symbol constructors? I might be missing something ...
8 years ago (2012-12-04 01:00:46 UTC) #4
siva
https://codereview.chromium.org/11411341/diff/13001/vm/symbols.h File vm/symbols.h (right): https://codereview.chromium.org/11411341/diff/13001/vm/symbols.h#newcode181 vm/symbols.h:181: // UTF-8 encoded characters and '\0' is considered a ...
8 years ago (2012-12-04 02:36:16 UTC) #5
cshapiro
8 years ago (2012-12-04 20:14:11 UTC) #6
thanks, still lgtm

Powered by Google App Engine
This is Rietveld 408576698