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

Side by Side Diff: src/objects.h

Issue 106453003: Allocation site support for monomorphic StringAdds in BinaryOps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 11 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.cc ('k') | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ 1097 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \
1098 V(kDeleteWithGlobalVariable, "Delete with global variable") \ 1098 V(kDeleteWithGlobalVariable, "Delete with global variable") \
1099 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ 1099 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \
1100 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ 1100 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \
1101 V(kDontDeleteCellsCannotContainTheHole, \ 1101 V(kDontDeleteCellsCannotContainTheHole, \
1102 "DontDelete cells can't contain the hole") \ 1102 "DontDelete cells can't contain the hole") \
1103 V(kDoPushArgumentNotImplementedForDoubleType, \ 1103 V(kDoPushArgumentNotImplementedForDoubleType, \
1104 "DoPushArgument not implemented for double type") \ 1104 "DoPushArgument not implemented for double type") \
1105 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ 1105 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \
1106 "EmitLoadRegister: Unsupported double immediate") \ 1106 "EmitLoadRegister: Unsupported double immediate") \
1107 V(kEval, "Eval") \ 1107 V(kEval, "eval") \
1108 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \ 1108 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \
1109 V(kExpectedAlignmentMarker, "Expected alignment marker") \ 1109 V(kExpectedAlignmentMarker, "expected alignment marker") \
1110 V(kExpectedAllocationSite, "expected allocation site") \
1110 V(kExpectedAllocationSiteInCell, \ 1111 V(kExpectedAllocationSiteInCell, \
1111 "Expected AllocationSite in property cell") \ 1112 "Expected AllocationSite in property cell") \
1112 V(kExpectedPropertyCellInRegisterA2, \ 1113 V(kExpectedPropertyCellInRegisterA2, \
1113 "Expected property cell in register a2") \ 1114 "Expected property cell in register a2") \
1114 V(kExpectedPropertyCellInRegisterEbx, \ 1115 V(kExpectedPropertyCellInRegisterEbx, \
1115 "Expected property cell in register ebx") \ 1116 "Expected property cell in register ebx") \
1116 V(kExpectedPropertyCellInRegisterRbx, \ 1117 V(kExpectedPropertyCellInRegisterRbx, \
1117 "Expected property cell in register rbx") \ 1118 "Expected property cell in register rbx") \
1118 V(kExpectingAlignmentForCopyBytes, \ 1119 V(kExpectingAlignmentForCopyBytes, \
1119 "Expecting alignment for CopyBytes") \ 1120 "Expecting alignment for CopyBytes") \
(...skipping 4120 matching lines...) Expand 10 before | Expand all | Expand 10 after
5240 inline ConstantPoolArray* constant_pool(); 5241 inline ConstantPoolArray* constant_pool();
5241 inline void set_constant_pool(Object* constant_pool); 5242 inline void set_constant_pool(Object* constant_pool);
5242 5243
5243 // Get the safepoint entry for the given pc. 5244 // Get the safepoint entry for the given pc.
5244 SafepointEntry GetSafepointEntry(Address pc); 5245 SafepointEntry GetSafepointEntry(Address pc);
5245 5246
5246 // Find an object in a stub with a specified map 5247 // Find an object in a stub with a specified map
5247 Object* FindNthObject(int n, Map* match_map); 5248 Object* FindNthObject(int n, Map* match_map);
5248 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); 5249 void ReplaceNthObject(int n, Map* match_map, Object* replace_with);
5249 5250
5251 // Find the first allocation site in an IC stub.
5252 AllocationSite* FindFirstAllocationSite();
5253
5250 // Find the first map in an IC stub. 5254 // Find the first map in an IC stub.
5251 Map* FindFirstMap(); 5255 Map* FindFirstMap();
5252 void FindAllMaps(MapHandleList* maps); 5256 void FindAllMaps(MapHandleList* maps);
5253 void FindAllTypes(TypeHandleList* types); 5257 void FindAllTypes(TypeHandleList* types);
5254 void ReplaceFirstMap(Map* replace); 5258 void ReplaceFirstMap(Map* replace);
5255 5259
5256 // Find the first handler in an IC stub. 5260 // Find the first handler in an IC stub.
5257 Code* FindFirstHandler(); 5261 Code* FindFirstHandler();
5258 5262
5259 // Find |length| handlers and put them into |code_list|. Returns false if not 5263 // Find |length| handlers and put them into |code_list|. Returns false if not
(...skipping 5362 matching lines...) Expand 10 before | Expand all | Expand 10 after
10622 } else { 10626 } else {
10623 value &= ~(1 << bit_position); 10627 value &= ~(1 << bit_position);
10624 } 10628 }
10625 return value; 10629 return value;
10626 } 10630 }
10627 }; 10631 };
10628 10632
10629 } } // namespace v8::internal 10633 } } // namespace v8::internal
10630 10634
10631 #endif // V8_OBJECTS_H_ 10635 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698