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

Side by Side Diff: src/runtime.h

Issue 5220007: Force pretenuring of closures that are immediately assigned to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 F(CloneShallowLiteralBoilerplate, 1, 1) \ 255 F(CloneShallowLiteralBoilerplate, 1, 1) \
256 F(CreateObjectLiteral, 4, 1) \ 256 F(CreateObjectLiteral, 4, 1) \
257 F(CreateObjectLiteralShallow, 4, 1) \ 257 F(CreateObjectLiteralShallow, 4, 1) \
258 F(CreateArrayLiteral, 3, 1) \ 258 F(CreateArrayLiteral, 3, 1) \
259 F(CreateArrayLiteralShallow, 3, 1) \ 259 F(CreateArrayLiteralShallow, 3, 1) \
260 \ 260 \
261 /* Catch context extension objects */ \ 261 /* Catch context extension objects */ \
262 F(CreateCatchExtensionObject, 2, 1) \ 262 F(CreateCatchExtensionObject, 2, 1) \
263 \ 263 \
264 /* Statements */ \ 264 /* Statements */ \
265 F(NewClosure, 2, 1) \ 265 F(NewClosure, 3, 1) \
266 F(NewObject, 1, 1) \ 266 F(NewObject, 1, 1) \
267 F(NewObjectFromBound, 2, 1) \ 267 F(NewObjectFromBound, 2, 1) \
268 F(FinalizeInstanceSize, 1, 1) \ 268 F(FinalizeInstanceSize, 1, 1) \
269 F(Throw, 1, 1) \ 269 F(Throw, 1, 1) \
270 F(ReThrow, 1, 1) \ 270 F(ReThrow, 1, 1) \
271 F(ThrowReferenceError, 1, 1) \ 271 F(ThrowReferenceError, 1, 1) \
272 F(StackGuard, 0, 1) \ 272 F(StackGuard, 0, 1) \
273 F(PromoteScheduledException, 0, 1) \ 273 F(PromoteScheduledException, 0, 1) \
274 \ 274 \
275 /* Contexts */ \ 275 /* Contexts */ \
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 int position); 535 int position);
536 536
537 // Helper functions used stubs. 537 // Helper functions used stubs.
538 static void PerformGC(Object* result); 538 static void PerformGC(Object* result);
539 }; 539 };
540 540
541 541
542 } } // namespace v8::internal 542 } } // namespace v8::internal
543 543
544 #endif // V8_RUNTIME_H_ 544 #endif // V8_RUNTIME_H_
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698