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

Side by Side Diff: src/objects.h

Issue 347573002: Revert "Optimize Function.prototype.call" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/compiler/inlined-call.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 6995 matching lines...) Expand 10 before | Expand all | Expand 10 after
7006 // 7006 //
7007 // Installation of ids for the selected builtin functions is handled 7007 // Installation of ids for the selected builtin functions is handled
7008 // by the bootstrapper. 7008 // by the bootstrapper.
7009 #define FUNCTIONS_WITH_ID_LIST(V) \ 7009 #define FUNCTIONS_WITH_ID_LIST(V) \
7010 V(Array.prototype, indexOf, ArrayIndexOf) \ 7010 V(Array.prototype, indexOf, ArrayIndexOf) \
7011 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ 7011 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \
7012 V(Array.prototype, push, ArrayPush) \ 7012 V(Array.prototype, push, ArrayPush) \
7013 V(Array.prototype, pop, ArrayPop) \ 7013 V(Array.prototype, pop, ArrayPop) \
7014 V(Array.prototype, shift, ArrayShift) \ 7014 V(Array.prototype, shift, ArrayShift) \
7015 V(Function.prototype, apply, FunctionApply) \ 7015 V(Function.prototype, apply, FunctionApply) \
7016 V(Function.prototype, call, FunctionCall) \
7017 V(String.prototype, charCodeAt, StringCharCodeAt) \ 7016 V(String.prototype, charCodeAt, StringCharCodeAt) \
7018 V(String.prototype, charAt, StringCharAt) \ 7017 V(String.prototype, charAt, StringCharAt) \
7019 V(String, fromCharCode, StringFromCharCode) \ 7018 V(String, fromCharCode, StringFromCharCode) \
7020 V(Math, floor, MathFloor) \ 7019 V(Math, floor, MathFloor) \
7021 V(Math, round, MathRound) \ 7020 V(Math, round, MathRound) \
7022 V(Math, ceil, MathCeil) \ 7021 V(Math, ceil, MathCeil) \
7023 V(Math, abs, MathAbs) \ 7022 V(Math, abs, MathAbs) \
7024 V(Math, log, MathLog) \ 7023 V(Math, log, MathLog) \
7025 V(Math, exp, MathExp) \ 7024 V(Math, exp, MathExp) \
7026 V(Math, sqrt, MathSqrt) \ 7025 V(Math, sqrt, MathSqrt) \
(...skipping 4222 matching lines...) Expand 10 before | Expand all | Expand 10 after
11249 } else { 11248 } else {
11250 value &= ~(1 << bit_position); 11249 value &= ~(1 << bit_position);
11251 } 11250 }
11252 return value; 11251 return value;
11253 } 11252 }
11254 }; 11253 };
11255 11254
11256 } } // namespace v8::internal 11255 } } // namespace v8::internal
11257 11256
11258 #endif // V8_OBJECTS_H_ 11257 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/compiler/inlined-call.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698