Index: src/stub-cache.cc |
=================================================================== |
--- src/stub-cache.cc (revision 4852) |
+++ src/stub-cache.cc (working copy) |
@@ -121,7 +121,7 @@ |
receiver->map()->UpdateCodeCache(cache_name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -139,7 +139,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -158,7 +158,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -177,7 +177,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -194,13 +194,12 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
Object* StubCache::ComputeLoadNormal(String* name, JSObject* receiver) { |
- Code* code = Builtins::builtin(Builtins::LoadIC_Normal); |
- return Set(name, receiver->map(), code); |
+ return Builtins::builtin(Builtins::LoadIC_Normal); |
} |
@@ -223,7 +222,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -368,7 +367,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -385,7 +384,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -403,7 +402,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -420,7 +419,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -486,7 +485,7 @@ |
Object* result = map->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, map, Code::cast(code)); |
+ return code; |
} |
@@ -525,7 +524,7 @@ |
Object* result = map->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, map, Code::cast(code)); |
+ return code; |
} |
@@ -563,7 +562,7 @@ |
Object* result = map->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, map, Code::cast(code)); |
+ return code; |
} |
@@ -574,7 +573,7 @@ |
JSObject* receiver) { |
Object* code = ComputeCallNormal(argc, in_loop, kind); |
if (code->IsFailure()) return code; |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |
@@ -607,7 +606,7 @@ |
Object* result = receiver->map()->UpdateCodeCache(name, Code::cast(code)); |
if (result->IsFailure()) return result; |
} |
- return Set(name, receiver->map(), Code::cast(code)); |
+ return code; |
} |