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

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: Ports. 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
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 F(GetPropertyNames, 1, 1) \ 410 F(GetPropertyNames, 1, 1) \
411 F(GetPropertyNamesFast, 1, 1) \ 411 F(GetPropertyNamesFast, 1, 1) \
412 F(GetOwnPropertyNames, 2, 1) \ 412 F(GetOwnPropertyNames, 2, 1) \
413 F(GetOwnElementNames, 1, 1) \ 413 F(GetOwnElementNames, 1, 1) \
414 F(GetInterceptorInfo, 1, 1) \ 414 F(GetInterceptorInfo, 1, 1) \
415 F(GetNamedInterceptorPropertyNames, 1, 1) \ 415 F(GetNamedInterceptorPropertyNames, 1, 1) \
416 F(GetIndexedInterceptorElementNames, 1, 1) \ 416 F(GetIndexedInterceptorElementNames, 1, 1) \
417 F(OwnKeys, 1, 1) \ 417 F(OwnKeys, 1, 1) \
418 F(ToFastProperties, 1, 1) \ 418 F(ToFastProperties, 1, 1) \
419 F(ToBool, 1, 1) \ 419 F(ToBool, 1, 1) \
420 F(Typeof, 1, 1) \
421 F(NewStringWrapper, 1, 1) \ 420 F(NewStringWrapper, 1, 1) \
422 F(AllocateHeapNumber, 0, 1) \ 421 F(AllocateHeapNumber, 0, 1) \
423 F(NewObject, 2, 1) \ 422 F(NewObject, 2, 1) \
424 F(NewObjectWithAllocationSite, 3, 1) \ 423 F(NewObjectWithAllocationSite, 3, 1) \
425 F(FinalizeInstanceSize, 1, 1) \ 424 F(FinalizeInstanceSize, 1, 1) \
426 F(GlobalProxy, 1, 1) \ 425 F(GlobalProxy, 1, 1) \
427 F(LookupAccessor, 3, 1) \ 426 F(LookupAccessor, 3, 1) \
428 F(LoadMutableDouble, 2, 1) \ 427 F(LoadMutableDouble, 2, 1) \
429 F(TryMigrateInstance, 1, 1) \ 428 F(TryMigrateInstance, 1, 1) \
430 F(IsJSGlobalProxy, 1, 1) \ 429 F(IsJSGlobalProxy, 1, 1) \
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 858
860 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 859 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
861 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 860 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
862 STATIC_ASSERT(LANGUAGE_END == 3); 861 STATIC_ASSERT(LANGUAGE_END == 3);
863 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 862 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
864 863
865 } // namespace internal 864 } // namespace internal
866 } // namespace v8 865 } // namespace v8
867 866
868 #endif // V8_RUNTIME_RUNTIME_H_ 867 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698