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

Side by Side Diff: src/objects.h

Issue 350913002: Optimize Function.prototype.call (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Created 6 years, 5 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 6943 matching lines...) Expand 10 before | Expand all | Expand 10 after
6954 // 6954 //
6955 // Installation of ids for the selected builtin functions is handled 6955 // Installation of ids for the selected builtin functions is handled
6956 // by the bootstrapper. 6956 // by the bootstrapper.
6957 #define FUNCTIONS_WITH_ID_LIST(V) \ 6957 #define FUNCTIONS_WITH_ID_LIST(V) \
6958 V(Array.prototype, indexOf, ArrayIndexOf) \ 6958 V(Array.prototype, indexOf, ArrayIndexOf) \
6959 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ 6959 V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \
6960 V(Array.prototype, push, ArrayPush) \ 6960 V(Array.prototype, push, ArrayPush) \
6961 V(Array.prototype, pop, ArrayPop) \ 6961 V(Array.prototype, pop, ArrayPop) \
6962 V(Array.prototype, shift, ArrayShift) \ 6962 V(Array.prototype, shift, ArrayShift) \
6963 V(Function.prototype, apply, FunctionApply) \ 6963 V(Function.prototype, apply, FunctionApply) \
6964 V(Function.prototype, call, FunctionCall) \
6964 V(String.prototype, charCodeAt, StringCharCodeAt) \ 6965 V(String.prototype, charCodeAt, StringCharCodeAt) \
6965 V(String.prototype, charAt, StringCharAt) \ 6966 V(String.prototype, charAt, StringCharAt) \
6966 V(String, fromCharCode, StringFromCharCode) \ 6967 V(String, fromCharCode, StringFromCharCode) \
6967 V(Math, floor, MathFloor) \ 6968 V(Math, floor, MathFloor) \
6968 V(Math, round, MathRound) \ 6969 V(Math, round, MathRound) \
6969 V(Math, ceil, MathCeil) \ 6970 V(Math, ceil, MathCeil) \
6970 V(Math, abs, MathAbs) \ 6971 V(Math, abs, MathAbs) \
6971 V(Math, log, MathLog) \ 6972 V(Math, log, MathLog) \
6972 V(Math, exp, MathExp) \ 6973 V(Math, exp, MathExp) \
6973 V(Math, sqrt, MathSqrt) \ 6974 V(Math, sqrt, MathSqrt) \
(...skipping 4173 matching lines...) Expand 10 before | Expand all | Expand 10 after
11147 } else { 11148 } else {
11148 value &= ~(1 << bit_position); 11149 value &= ~(1 << bit_position);
11149 } 11150 }
11150 return value; 11151 return value;
11151 } 11152 }
11152 }; 11153 };
11153 11154
11154 } } // namespace v8::internal 11155 } } // namespace v8::internal
11155 11156
11156 #endif // V8_OBJECTS_H_ 11157 #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