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

Side by Side Diff: src/objects.h

Issue 7623016: Merge r8884 "Fix fun.apply(receiver, arguments) optimization" to 3.4 (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.4/
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') | src/version.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 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 4328 matching lines...) Expand 10 before | Expand all | Expand 10 after
4339 // on the object (the one the id is set for), and a label. 4339 // on the object (the one the id is set for), and a label.
4340 // 4340 //
4341 // Installation of ids for the selected builtin functions is handled 4341 // Installation of ids for the selected builtin functions is handled
4342 // by the bootstrapper. 4342 // by the bootstrapper.
4343 // 4343 //
4344 // NOTE: Order is important: math functions should be at the end of 4344 // NOTE: Order is important: math functions should be at the end of
4345 // the list and MathFloor should be the first math function. 4345 // the list and MathFloor should be the first math function.
4346 #define FUNCTIONS_WITH_ID_LIST(V) \ 4346 #define FUNCTIONS_WITH_ID_LIST(V) \
4347 V(Array.prototype, push, ArrayPush) \ 4347 V(Array.prototype, push, ArrayPush) \
4348 V(Array.prototype, pop, ArrayPop) \ 4348 V(Array.prototype, pop, ArrayPop) \
4349 V(Function.prototype, apply, FunctionApply) \
4349 V(String.prototype, charCodeAt, StringCharCodeAt) \ 4350 V(String.prototype, charCodeAt, StringCharCodeAt) \
4350 V(String.prototype, charAt, StringCharAt) \ 4351 V(String.prototype, charAt, StringCharAt) \
4351 V(String, fromCharCode, StringFromCharCode) \ 4352 V(String, fromCharCode, StringFromCharCode) \
4352 V(Math, floor, MathFloor) \ 4353 V(Math, floor, MathFloor) \
4353 V(Math, round, MathRound) \ 4354 V(Math, round, MathRound) \
4354 V(Math, ceil, MathCeil) \ 4355 V(Math, ceil, MathCeil) \
4355 V(Math, abs, MathAbs) \ 4356 V(Math, abs, MathAbs) \
4356 V(Math, log, MathLog) \ 4357 V(Math, log, MathLog) \
4357 V(Math, sin, MathSin) \ 4358 V(Math, sin, MathSin) \
4358 V(Math, cos, MathCos) \ 4359 V(Math, cos, MathCos) \
(...skipping 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after
7186 } else { 7187 } else {
7187 value &= ~(1 << bit_position); 7188 value &= ~(1 << bit_position);
7188 } 7189 }
7189 return value; 7190 return value;
7190 } 7191 }
7191 }; 7192 };
7192 7193
7193 } } // namespace v8::internal 7194 } } // namespace v8::internal
7194 7195
7195 #endif // V8_OBJECTS_H_ 7196 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698