| OLD | NEW | 
|---|
| 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ | 
| 6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ | 
| 7 | 7 | 
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" | 
| 9 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" | 
| 10 #include "src/objects.h" | 10 #include "src/objects.h" | 
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 305   F(CallSiteGetLineNumberRT, 1, 1)                  \ | 305   F(CallSiteGetLineNumberRT, 1, 1)                  \ | 
| 306   F(CallSiteGetColumnNumberRT, 1, 1)                \ | 306   F(CallSiteGetColumnNumberRT, 1, 1)                \ | 
| 307   F(CallSiteIsNativeRT, 1, 1)                       \ | 307   F(CallSiteIsNativeRT, 1, 1)                       \ | 
| 308   F(CallSiteIsToplevelRT, 1, 1)                     \ | 308   F(CallSiteIsToplevelRT, 1, 1)                     \ | 
| 309   F(CallSiteIsEvalRT, 1, 1)                         \ | 309   F(CallSiteIsEvalRT, 1, 1)                         \ | 
| 310   F(CallSiteIsConstructorRT, 1, 1)                  \ | 310   F(CallSiteIsConstructorRT, 1, 1)                  \ | 
| 311   F(IS_VAR, 1, 1)                                   \ | 311   F(IS_VAR, 1, 1)                                   \ | 
| 312   F(ThrowConstructedNonConstructable, 1, 1)         \ | 312   F(ThrowConstructedNonConstructable, 1, 1)         \ | 
| 313   F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 313   F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 
| 314   F(ThrowCalledNonCallable, 1, 1)                   \ | 314   F(ThrowCalledNonCallable, 1, 1)                   \ | 
|  | 315   F(ThrowCalledOnNullOrUndefined, 1, 1)             \ | 
| 315   F(CreateListFromArrayLike, 1, 1)                  \ | 316   F(CreateListFromArrayLike, 1, 1)                  \ | 
| 316   F(IncrementUseCounter, 1, 1)                      \ | 317   F(IncrementUseCounter, 1, 1)                      \ | 
| 317   F(GetOrdinaryHasInstance, 0, 1)                   \ | 318   F(GetOrdinaryHasInstance, 0, 1)                   \ | 
| 318   F(GetAndResetRuntimeCallStats, 0, 1) | 319   F(GetAndResetRuntimeCallStats, 0, 1) | 
| 319 | 320 | 
| 320 #define FOR_EACH_INTRINSIC_JSON(F) \ | 321 #define FOR_EACH_INTRINSIC_JSON(F) \ | 
| 321   F(QuoteJSONString, 1, 1)         \ | 322   F(QuoteJSONString, 1, 1)         \ | 
| 322   F(BasicJSONStringify, 1, 1)      \ | 323   F(BasicJSONStringify, 1, 1)      \ | 
| 323   F(ParseJson, 1, 1) | 324   F(ParseJson, 1, 1) | 
| 324 | 325 | 
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 851   F(NewString, 2, 1)                      \ | 852   F(NewString, 2, 1)                      \ | 
| 852   F(StringLessThan, 2, 1)                 \ | 853   F(StringLessThan, 2, 1)                 \ | 
| 853   F(StringLessThanOrEqual, 2, 1)          \ | 854   F(StringLessThanOrEqual, 2, 1)          \ | 
| 854   F(StringGreaterThan, 2, 1)              \ | 855   F(StringGreaterThan, 2, 1)              \ | 
| 855   F(StringGreaterThanOrEqual, 2, 1)       \ | 856   F(StringGreaterThanOrEqual, 2, 1)       \ | 
| 856   F(StringEqual, 2, 1)                    \ | 857   F(StringEqual, 2, 1)                    \ | 
| 857   F(StringNotEqual, 2, 1)                 \ | 858   F(StringNotEqual, 2, 1)                 \ | 
| 858   F(FlattenString, 1, 1)                  \ | 859   F(FlattenString, 1, 1)                  \ | 
| 859   F(StringCharFromCode, 1, 1)             \ | 860   F(StringCharFromCode, 1, 1)             \ | 
| 860   F(StringCharAt, 2, 1)                   \ | 861   F(StringCharAt, 2, 1)                   \ | 
|  | 862   F(ExternalStringGetChar, 2, 1)          \ | 
| 861   F(OneByteSeqStringGetChar, 2, 1)        \ | 863   F(OneByteSeqStringGetChar, 2, 1)        \ | 
| 862   F(OneByteSeqStringSetChar, 3, 1)        \ | 864   F(OneByteSeqStringSetChar, 3, 1)        \ | 
| 863   F(TwoByteSeqStringGetChar, 2, 1)        \ | 865   F(TwoByteSeqStringGetChar, 2, 1)        \ | 
| 864   F(TwoByteSeqStringSetChar, 3, 1)        \ | 866   F(TwoByteSeqStringSetChar, 3, 1)        \ | 
| 865   F(StringCharCodeAt, 2, 1) | 867   F(StringCharCodeAt, 2, 1) | 
| 866 | 868 | 
| 867 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 869 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 
| 868   F(CreateSymbol, 1, 1)              \ | 870   F(CreateSymbol, 1, 1)              \ | 
| 869   F(CreatePrivateSymbol, 1, 1)       \ | 871   F(CreatePrivateSymbol, 1, 1)       \ | 
| 870   F(SymbolDescription, 1, 1)         \ | 872   F(SymbolDescription, 1, 1)         \ | 
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1173 | 1175 | 
| 1174 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1176 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 
| 1175 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1177 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 
| 1176 STATIC_ASSERT(LANGUAGE_END == 3); | 1178 STATIC_ASSERT(LANGUAGE_END == 3); | 
| 1177 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1179 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 
| 1178 | 1180 | 
| 1179 }  // namespace internal | 1181 }  // namespace internal | 
| 1180 }  // namespace v8 | 1182 }  // namespace v8 | 
| 1181 | 1183 | 
| 1182 #endif  // V8_RUNTIME_RUNTIME_H_ | 1184 #endif  // V8_RUNTIME_RUNTIME_H_ | 
| OLD | NEW | 
|---|