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

Side by Side Diff: src/builtins/builtins.h

Issue 2673383002: [ic] Encode LoadGlobalIC's typeof mode in slot kind instead of code object's flags. (Closed)
Patch Set: Addressed comments and added check to FCG Created 3 years, 10 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/ast/ast-numbering.cc ('k') | src/builtins/builtins-handler.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 // 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_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 TFS(KeyedLoadIC, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector) \ 472 TFS(KeyedLoadIC, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector) \
473 TFS(KeyedLoadICTrampoline, KEYED_LOAD_IC, kNoExtraICState, Load) \ 473 TFS(KeyedLoadICTrampoline, KEYED_LOAD_IC, kNoExtraICState, Load) \
474 TFS(StoreIC, STORE_IC, kNoExtraICState, StoreWithVector) \ 474 TFS(StoreIC, STORE_IC, kNoExtraICState, StoreWithVector) \
475 TFS(StoreICTrampoline, STORE_IC, kNoExtraICState, Store) \ 475 TFS(StoreICTrampoline, STORE_IC, kNoExtraICState, Store) \
476 TFS(StoreICStrict, STORE_IC, kNoExtraICState, StoreWithVector) \ 476 TFS(StoreICStrict, STORE_IC, kNoExtraICState, StoreWithVector) \
477 TFS(StoreICStrictTrampoline, STORE_IC, kNoExtraICState, Store) \ 477 TFS(StoreICStrictTrampoline, STORE_IC, kNoExtraICState, Store) \
478 TFS(KeyedStoreIC, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \ 478 TFS(KeyedStoreIC, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \
479 TFS(KeyedStoreICTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \ 479 TFS(KeyedStoreICTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \
480 TFS(KeyedStoreICStrict, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \ 480 TFS(KeyedStoreICStrict, KEYED_STORE_IC, kNoExtraICState, StoreWithVector) \
481 TFS(KeyedStoreICStrictTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \ 481 TFS(KeyedStoreICStrictTrampoline, KEYED_STORE_IC, kNoExtraICState, Store) \
482 TFS(LoadGlobalIC, LOAD_GLOBAL_IC, LoadGlobalICState::kNotInsideTypeOfState, \ 482 TFS(LoadGlobalIC, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobalWithVector) \
483 TFS(LoadGlobalICInsideTypeof, LOAD_GLOBAL_IC, kNoExtraICState, \
483 LoadGlobalWithVector) \ 484 LoadGlobalWithVector) \
484 TFS(LoadGlobalICInsideTypeof, LOAD_GLOBAL_IC, \ 485 TFS(LoadGlobalICTrampoline, LOAD_GLOBAL_IC, kNoExtraICState, LoadGlobal) \
485 LoadGlobalICState::kInsideTypeOfState, LoadGlobalWithVector) \ 486 TFS(LoadGlobalICInsideTypeofTrampoline, LOAD_GLOBAL_IC, kNoExtraICState, \
486 TFS(LoadGlobalICTrampoline, LOAD_GLOBAL_IC, \ 487 LoadGlobal) \
487 LoadGlobalICState::kNotInsideTypeOfState, LoadGlobal) \
488 TFS(LoadGlobalICInsideTypeofTrampoline, LOAD_GLOBAL_IC, \
489 LoadGlobalICState::kInsideTypeOfState, LoadGlobal) \
490 \ 488 \
491 /* Math */ \ 489 /* Math */ \
492 /* ES6 section 20.2.2.1 Math.abs ( x ) */ \ 490 /* ES6 section 20.2.2.1 Math.abs ( x ) */ \
493 TFJ(MathAbs, 1) \ 491 TFJ(MathAbs, 1) \
494 /* ES6 section 20.2.2.2 Math.acos ( x ) */ \ 492 /* ES6 section 20.2.2.2 Math.acos ( x ) */ \
495 TFJ(MathAcos, 1) \ 493 TFJ(MathAcos, 1) \
496 /* ES6 section 20.2.2.3 Math.acosh ( x ) */ \ 494 /* ES6 section 20.2.2.3 Math.acosh ( x ) */ \
497 TFJ(MathAcosh, 1) \ 495 TFJ(MathAcosh, 1) \
498 /* ES6 section 20.2.2.4 Math.asin ( x ) */ \ 496 /* ES6 section 20.2.2.4 Math.asin ( x ) */ \
499 TFJ(MathAsin, 1) \ 497 TFJ(MathAsin, 1) \
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 943
946 friend class Isolate; 944 friend class Isolate;
947 945
948 DISALLOW_COPY_AND_ASSIGN(Builtins); 946 DISALLOW_COPY_AND_ASSIGN(Builtins);
949 }; 947 };
950 948
951 } // namespace internal 949 } // namespace internal
952 } // namespace v8 950 } // namespace v8
953 951
954 #endif // V8_BUILTINS_BUILTINS_H_ 952 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/builtins/builtins-handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698