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

Unified Diff: src/objects-debug.cc

Issue 1551333002: Use JSObjectVerify instead of trying to reimplement parts of it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Blacklist test for ignition. Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index dbfe33aee10326101f9e48d2bbcf774114019f4d..b6dd42553cf404d8af27ce89d829a0efbfeff338 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -549,10 +549,7 @@ void SlicedString::SlicedStringVerify() {
void JSBoundFunction::JSBoundFunctionVerify() {
CHECK(IsJSBoundFunction());
- if (HasFastProperties()) {
- VerifyObjectField(kLengthOffset);
- VerifyObjectField(kNameOffset);
- }
+ JSObjectVerify();
VerifyObjectField(kBoundThisOffset);
VerifyObjectField(kBoundTargetFunctionOffset);
VerifyObjectField(kBoundArgumentsOffset);
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698