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

Side by Side Diff: src/runtime.h

Issue 3191026: Explicitly set expected number of properties for instances of builtin types. (Closed)
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | src/runtime.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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 F(FunctionGetScriptSourcePosition, 1, 1) \ 194 F(FunctionGetScriptSourcePosition, 1, 1) \
195 F(FunctionGetPositionForOffset, 2, 1) \ 195 F(FunctionGetPositionForOffset, 2, 1) \
196 F(FunctionIsAPIFunction, 1, 1) \ 196 F(FunctionIsAPIFunction, 1, 1) \
197 F(FunctionIsBuiltin, 1, 1) \ 197 F(FunctionIsBuiltin, 1, 1) \
198 F(GetScript, 1, 1) \ 198 F(GetScript, 1, 1) \
199 F(CollectStackTrace, 2, 1) \ 199 F(CollectStackTrace, 2, 1) \
200 F(GetV8Version, 0, 1) \ 200 F(GetV8Version, 0, 1) \
201 \ 201 \
202 F(ClassOf, 1, 1) \ 202 F(ClassOf, 1, 1) \
203 F(SetCode, 2, 1) \ 203 F(SetCode, 2, 1) \
204 F(SetExpectedNumberOfProperties, 2, 1) \
204 \ 205 \
205 F(CreateApiFunction, 1, 1) \ 206 F(CreateApiFunction, 1, 1) \
206 F(IsTemplate, 1, 1) \ 207 F(IsTemplate, 1, 1) \
207 F(GetTemplateField, 2, 1) \ 208 F(GetTemplateField, 2, 1) \
208 F(DisableAccessChecks, 1, 1) \ 209 F(DisableAccessChecks, 1, 1) \
209 F(EnableAccessChecks, 1, 1) \ 210 F(EnableAccessChecks, 1, 1) \
210 \ 211 \
211 /* Dates */ \ 212 /* Dates */ \
212 F(DateCurrentTime, 0, 1) \ 213 F(DateCurrentTime, 0, 1) \
213 F(DateParseString, 2, 1) \ 214 F(DateParseString, 2, 1) \
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 int position); 454 int position);
454 455
455 // Helper functions used stubs. 456 // Helper functions used stubs.
456 static void PerformGC(Object* result); 457 static void PerformGC(Object* result);
457 }; 458 };
458 459
459 460
460 } } // namespace v8::internal 461 } } // namespace v8::internal
461 462
462 #endif // V8_RUNTIME_H_ 463 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698