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

Unified Diff: src/json-stringifier.h

Issue 11365221: Allow property indexes to refer to slots inside the object header. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « src/ic.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | src/property.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/json-stringifier.h
diff --git a/src/json-stringifier.h b/src/json-stringifier.h
index cdb724f0a867a37dffc7f55c401b727bdabaa343..086854ae8fd9660557fa7701918666f1cb392d4d 100644
--- a/src/json-stringifier.h
+++ b/src/json-stringifier.h
@@ -274,7 +274,8 @@ Handle<Object> BasicJsonStringifier::GetProperty(Handle<JSObject> object,
return Handle<Object>(value, isolate_);
}
case FIELD: {
- Object* value = lookup.holder()->FastPropertyAt(lookup.GetFieldIndex());
+ Object* value = lookup.holder()->FastPropertyAt(
+ lookup.GetFieldIndex().FieldIndex());
ASSERT(!value->IsTheHole());
return Handle<Object>(value, isolate_);
}
« no previous file with comments | « src/ic.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | src/property.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698