Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright | 
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. | 
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above | 
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following | 
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided | 
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 615 argc, kind_, extra_state, name, receiver, global, cell, function); | 615 argc, kind_, extra_state, name, receiver, global, cell, function); | 
| 616 } else { | 616 } else { | 
| 617 // There is only one shared stub for calling normalized | 617 // There is only one shared stub for calling normalized | 
| 618 // properties. It does not traverse the prototype chain, so the | 618 // properties. It does not traverse the prototype chain, so the | 
| 619 // property must be found in the receiver for the stub to be | 619 // property must be found in the receiver for the stub to be | 
| 620 // applicable. | 620 // applicable. | 
| 621 if (!holder.is_identical_to(receiver)) return Handle<Code>::null(); | 621 if (!holder.is_identical_to(receiver)) return Handle<Code>::null(); | 
| 622 return isolate()->stub_cache()->ComputeCallNormal( | 622 return isolate()->stub_cache()->ComputeCallNormal( | 
| 623 argc, kind_, extra_state); | 623 argc, kind_, extra_state); | 
| 624 } | 624 } | 
| 625 break; | 625 return Handle<Code>::null(); | 
| 
 
Vyacheslav Egorov (Chromium)
2011/12/20 15:45:14
ditto. what does compiler say? this can never be r
 
 | |
| 626 } | 626 } | 
| 627 case INTERCEPTOR: | 627 case INTERCEPTOR: | 
| 628 ASSERT(HasInterceptorGetter(*holder)); | 628 ASSERT(HasInterceptorGetter(*holder)); | 
| 629 return isolate()->stub_cache()->ComputeCallInterceptor( | 629 return isolate()->stub_cache()->ComputeCallInterceptor( | 
| 630 argc, kind_, extra_state, name, object, holder); | 630 argc, kind_, extra_state, name, object, holder); | 
| 631 default: | 631 default: | 
| 632 return Handle<Code>::null(); | 632 return Handle<Code>::null(); | 
| 633 } | 633 } | 
| 634 } | 634 } | 
| 635 | 635 | 
| (...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2423 #undef ADDR | 2423 #undef ADDR | 
| 2424 }; | 2424 }; | 
| 2425 | 2425 | 
| 2426 | 2426 | 
| 2427 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 2427 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 
| 2428 return IC_utilities[id]; | 2428 return IC_utilities[id]; | 
| 2429 } | 2429 } | 
| 2430 | 2430 | 
| 2431 | 2431 | 
| 2432 } } // namespace v8::internal | 2432 } } // namespace v8::internal | 
| OLD | NEW |