Skip to content

Commit 1daa4e4

Browse files
hashseedCommit Bot
authored andcommitted
Remove a few outdated TODO(yangguo)
R=jgruber@chromium.org Bug: v8:6071 Change-Id: I346775e827fe9b2f24409dbba642c97622e9ea7e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2149423 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#67143}
1 parent 29300ff commit 1daa4e4

5 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/execution/isolate.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,6 @@ Handle<Object> CaptureStackTrace(Isolate* isolate, Handle<Object> caller,
10621062
}
10631063
}
10641064

1065-
// TODO(yangguo): Queue this structured stack trace for preprocessing on GC.
10661065
return builder.GetElementsAsStackTraceFrameArray();
10671066
}
10681067

src/handles/handles.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class Handle final : public HandleBase {
148148
template <typename S>
149149
inline static const Handle<T> cast(Handle<S> that);
150150

151-
// TODO(yangguo): Values that contain empty handles should be declared as
151+
// Consider declaring values that contain empty handles as
152152
// MaybeHandle to force validation before being used as handles.
153153
static const Handle<T> null() { return Handle<T>(); }
154154

src/parsing/parse-info.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ ParseInfo::ParseInfo(Isolate* isolate, SharedFunctionInfo shared)
9393
: ParseInfo(isolate, isolate->allocator(),
9494
Script::cast(shared.script()).id()) {
9595
// Do not support re-parsing top-level function of a wrapped script.
96-
// TODO(yangguo): consider whether we need a top-level function in a
97-
// wrapped script at all.
9896
DCHECK_IMPLIES(is_toplevel(), !Script::cast(shared.script()).is_wrapped());
9997

10098
set_allow_lazy_parsing(true);

src/runtime/runtime-regexp.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,6 @@ static Object SearchRegExpMultiple(Isolate* isolate, Handle<String> subject,
12341234

12351235
if (subject_length > kMinLengthToCache) {
12361236
// Store the last successful match into the array for caching.
1237-
// TODO(yangguo): do not expose last match to JS and simplify caching.
12381237
int capture_registers = (capture_count + 1) * 2;
12391238
Handle<FixedArray> last_match_cache =
12401239
isolate->factory()->NewFixedArray(capture_registers);

test/message/message.status

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
}], # arch != x64 and arch != ia32 and arch != arm64 and arch != arm
4545

4646
['variant == code_serializer', {
47-
# TODO(yangguo): Code serializer output is incompatible with all message
48-
# tests.
47+
# Code serializer output is incompatible with all message tests
48+
# because the same test is executed twice.
4949
'*': [SKIP],
5050
}], # variant == code_serializer
5151

0 commit comments

Comments
 (0)