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

Side by Side Diff: src/objects.h

Issue 7497067: Fix fun.apply(receiver, arguments) optimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/regress/regress-1592.js » ('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 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 4426 matching lines...) Expand 10 before | Expand all | Expand 10 after
4437 // on the object (the one the id is set for), and a label. 4437 // on the object (the one the id is set for), and a label.
4438 // 4438 //
4439 // Installation of ids for the selected builtin functions is handled 4439 // Installation of ids for the selected builtin functions is handled
4440 // by the bootstrapper. 4440 // by the bootstrapper.
4441 // 4441 //
4442 // NOTE: Order is important: math functions should be at the end of 4442 // NOTE: Order is important: math functions should be at the end of
4443 // the list and MathFloor should be the first math function. 4443 // the list and MathFloor should be the first math function.
4444 #define FUNCTIONS_WITH_ID_LIST(V) \ 4444 #define FUNCTIONS_WITH_ID_LIST(V) \
4445 V(Array.prototype, push, ArrayPush) \ 4445 V(Array.prototype, push, ArrayPush) \
4446 V(Array.prototype, pop, ArrayPop) \ 4446 V(Array.prototype, pop, ArrayPop) \
4447 V(Function.prototype, apply, FunctionApply) \
4447 V(String.prototype, charCodeAt, StringCharCodeAt) \ 4448 V(String.prototype, charCodeAt, StringCharCodeAt) \
4448 V(String.prototype, charAt, StringCharAt) \ 4449 V(String.prototype, charAt, StringCharAt) \
4449 V(String, fromCharCode, StringFromCharCode) \ 4450 V(String, fromCharCode, StringFromCharCode) \
4450 V(Math, floor, MathFloor) \ 4451 V(Math, floor, MathFloor) \
4451 V(Math, round, MathRound) \ 4452 V(Math, round, MathRound) \
4452 V(Math, ceil, MathCeil) \ 4453 V(Math, ceil, MathCeil) \
4453 V(Math, abs, MathAbs) \ 4454 V(Math, abs, MathAbs) \
4454 V(Math, log, MathLog) \ 4455 V(Math, log, MathLog) \
4455 V(Math, sin, MathSin) \ 4456 V(Math, sin, MathSin) \
4456 V(Math, cos, MathCos) \ 4457 V(Math, cos, MathCos) \
(...skipping 2863 matching lines...) Expand 10 before | Expand all | Expand 10 after
7320 } else { 7321 } else {
7321 value &= ~(1 << bit_position); 7322 value &= ~(1 << bit_position);
7322 } 7323 }
7323 return value; 7324 return value;
7324 } 7325 }
7325 }; 7326 };
7326 7327
7327 } } // namespace v8::internal 7328 } } // namespace v8::internal
7328 7329
7329 #endif // V8_OBJECTS_H_ 7330 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/regress/regress-1592.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698