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

Unified Diff: src/stub-cache.cc

Issue 300283002: Introduce FieldIndex to unify and abstract property/field offset (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix mutable boxed double runtime function Created 6 years, 6 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 | « src/stub-cache.h ('k') | src/utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/stub-cache.cc
diff --git a/src/stub-cache.cc b/src/stub-cache.cc
index b42f7489f4f1f7b88527101b6ee7dba31c5f3355..ef9270fb49f0709e3921ad62d046cfa5ffc6c229 100644
--- a/src/stub-cache.cc
+++ b/src/stub-cache.cc
@@ -888,7 +888,7 @@ Handle<Code> LoadStubCompiler::CompileLoadField(
Handle<HeapType> type,
Handle<JSObject> holder,
Handle<Name> name,
- PropertyIndex field,
+ FieldIndex field,
Representation representation) {
Register reg = HandlerFrontend(type, receiver(), holder, name);
GenerateLoadField(reg, holder, field, representation);
@@ -966,7 +966,7 @@ void LoadStubCompiler::GenerateLoadPostInterceptor(
LookupResult* lookup) {
Handle<JSObject> holder(lookup->holder());
if (lookup->IsField()) {
- PropertyIndex field = lookup->GetFieldIndex();
+ FieldIndex field = lookup->GetFieldIndex();
if (interceptor_holder.is_identical_to(holder)) {
GenerateLoadField(
interceptor_reg, holder, field, lookup->representation());
« no previous file with comments | « src/stub-cache.h ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698