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

Side by Side Diff: src/objects.h

Issue 335683002: Optimize Function.prototype.call (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Call the correct functions 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
« 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) \
7016 V(String.prototype, charCodeAt, StringCharCodeAt) \ 7017 V(String.prototype, charCodeAt, StringCharCodeAt) \
7017 V(String.prototype, charAt, StringCharAt) \ 7018 V(String.prototype, charAt, StringCharAt) \
7018 V(String, fromCharCode, StringFromCharCode) \ 7019 V(String, fromCharCode, StringFromCharCode) \
7019 V(Math, floor, MathFloor) \ 7020 V(Math, floor, MathFloor) \
7020 V(Math, round, MathRound) \ 7021 V(Math, round, MathRound) \
7021 V(Math, ceil, MathCeil) \ 7022 V(Math, ceil, MathCeil) \
7022 V(Math, abs, MathAbs) \ 7023 V(Math, abs, MathAbs) \
7023 V(Math, log, MathLog) \ 7024 V(Math, log, MathLog) \
7024 V(Math, exp, MathExp) \ 7025 V(Math, exp, MathExp) \
7025 V(Math, sqrt, MathSqrt) \ 7026 V(Math, sqrt, MathSqrt) \
(...skipping 4224 matching lines...) Expand 10 before | Expand all | Expand 10 after
11250 } else { 11251 } else {
11251 value &= ~(1 << bit_position); 11252 value &= ~(1 << bit_position);
11252 } 11253 }
11253 return value; 11254 return value;
11254 } 11255 }
11255 }; 11256 };
11256 11257
11257 } } // namespace v8::internal 11258 } } // namespace v8::internal
11258 11259
11259 #endif // V8_OBJECTS_H_ 11260 #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