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

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

Issue 1114563003: Optimize the typeof operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 7 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/mips64/lithium-mips64.cc ('k') | src/runtime/runtime-object.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 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/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 F(GetPropertyNames, 1, 1) \ 419 F(GetPropertyNames, 1, 1) \
420 F(GetPropertyNamesFast, 1, 1) \ 420 F(GetPropertyNamesFast, 1, 1) \
421 F(GetOwnPropertyNames, 2, 1) \ 421 F(GetOwnPropertyNames, 2, 1) \
422 F(GetOwnElementNames, 1, 1) \ 422 F(GetOwnElementNames, 1, 1) \
423 F(GetInterceptorInfo, 1, 1) \ 423 F(GetInterceptorInfo, 1, 1) \
424 F(GetNamedInterceptorPropertyNames, 1, 1) \ 424 F(GetNamedInterceptorPropertyNames, 1, 1) \
425 F(GetIndexedInterceptorElementNames, 1, 1) \ 425 F(GetIndexedInterceptorElementNames, 1, 1) \
426 F(OwnKeys, 1, 1) \ 426 F(OwnKeys, 1, 1) \
427 F(ToFastProperties, 1, 1) \ 427 F(ToFastProperties, 1, 1) \
428 F(ToBool, 1, 1) \ 428 F(ToBool, 1, 1) \
429 F(Typeof, 1, 1) \
430 F(NewStringWrapper, 1, 1) \ 429 F(NewStringWrapper, 1, 1) \
431 F(AllocateHeapNumber, 0, 1) \ 430 F(AllocateHeapNumber, 0, 1) \
432 F(NewObject, 2, 1) \ 431 F(NewObject, 2, 1) \
433 F(NewObjectWithAllocationSite, 3, 1) \ 432 F(NewObjectWithAllocationSite, 3, 1) \
434 F(FinalizeInstanceSize, 1, 1) \ 433 F(FinalizeInstanceSize, 1, 1) \
435 F(GlobalProxy, 1, 1) \ 434 F(GlobalProxy, 1, 1) \
436 F(LookupAccessor, 3, 1) \ 435 F(LookupAccessor, 3, 1) \
437 F(LoadMutableDouble, 2, 1) \ 436 F(LoadMutableDouble, 2, 1) \
438 F(TryMigrateInstance, 1, 1) \ 437 F(TryMigrateInstance, 1, 1) \
439 F(IsJSGlobalProxy, 1, 1) \ 438 F(IsJSGlobalProxy, 1, 1) \
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 864
866 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 865 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
867 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 866 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
868 STATIC_ASSERT(LANGUAGE_END == 3); 867 STATIC_ASSERT(LANGUAGE_END == 3);
869 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 868 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
870 869
871 } // namespace internal 870 } // namespace internal
872 } // namespace v8 871 } // namespace v8
873 872
874 #endif // V8_RUNTIME_RUNTIME_H_ 873 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-mips64.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698