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

Side by Side Diff: src/ic.cc

Issue 6526: - Fixed Issue 3201: Embedded Google Calendar crashes the renderer... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ic.h ('k') | src/ic-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 StoreIC ic; 1108 StoreIC ic;
1109 IC::State state = IC::StateFrom(ic.target(), args[0]); 1109 IC::State state = IC::StateFrom(ic.target(), args[0]);
1110 return ic.Store(state, args.at<Object>(0), args.at<String>(1), 1110 return ic.Store(state, args.at<Object>(0), args.at<String>(1),
1111 args.at<Object>(2)); 1111 args.at<Object>(2));
1112 } 1112 }
1113 1113
1114 1114
1115 // Extend storage is called in a store inline cache when 1115 // Extend storage is called in a store inline cache when
1116 // it is necessary to extend the properties array of a 1116 // it is necessary to extend the properties array of a
1117 // JSObject. 1117 // JSObject.
1118 Object* StoreIC_ExtendStorage(Arguments args) { 1118 Object* SharedStoreIC_ExtendStorage(Arguments args) {
1119 NoHandleAllocation na; 1119 NoHandleAllocation na;
1120 ASSERT(args.length() == 3); 1120 ASSERT(args.length() == 3);
1121 1121
1122 // Convert the parameters 1122 // Convert the parameters
1123 JSObject* object = JSObject::cast(args[0]); 1123 JSObject* object = JSObject::cast(args[0]);
1124 Map* transition = Map::cast(args[1]); 1124 Map* transition = Map::cast(args[1]);
1125 Object* value = args[2]; 1125 Object* value = args[2];
1126 1126
1127 // Check the object has run out out property space. 1127 // Check the object has run out out property space.
1128 ASSERT(object->HasFastProperties()); 1128 ASSERT(object->HasFastProperties());
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 #undef ADDR 1184 #undef ADDR
1185 }; 1185 };
1186 1186
1187 1187
1188 Address IC::AddressFromUtilityId(IC::UtilityId id) { 1188 Address IC::AddressFromUtilityId(IC::UtilityId id) {
1189 return IC_utilities[id]; 1189 return IC_utilities[id];
1190 } 1190 }
1191 1191
1192 1192
1193 } } // namespace v8::internal 1193 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.h ('k') | src/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698