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

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

Issue 1128113006: Add the concept of a V8 extras exports object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Was mising test-extra.js :( 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/contexts.h ('k') | src/runtime/runtime-test.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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 F(NotifyContextDisposed, 0, 1) \ 585 F(NotifyContextDisposed, 0, 1) \
586 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ 586 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \
587 F(DebugPrint, 1, 1) \ 587 F(DebugPrint, 1, 1) \
588 F(DebugTrace, 0, 1) \ 588 F(DebugTrace, 0, 1) \
589 F(GlobalPrint, 1, 1) \ 589 F(GlobalPrint, 1, 1) \
590 F(SystemBreak, 0, 1) \ 590 F(SystemBreak, 0, 1) \
591 F(SetFlags, 1, 1) \ 591 F(SetFlags, 1, 1) \
592 F(Abort, 1, 1) \ 592 F(Abort, 1, 1) \
593 F(AbortJS, 1, 1) \ 593 F(AbortJS, 1, 1) \
594 F(NativeScriptsCount, 0, 1) \ 594 F(NativeScriptsCount, 0, 1) \
595 F(NativeExtrasCount, 0, 1) \
595 F(GetV8Version, 0, 1) \ 596 F(GetV8Version, 0, 1) \
596 F(DisassembleFunction, 1, 1) \ 597 F(DisassembleFunction, 1, 1) \
597 F(TraceEnter, 0, 1) \ 598 F(TraceEnter, 0, 1) \
598 F(TraceExit, 1, 1) \ 599 F(TraceExit, 1, 1) \
599 F(HaveSameMap, 2, 1) \ 600 F(HaveSameMap, 2, 1) \
600 F(HasFastSmiElements, 1, 1) \ 601 F(HasFastSmiElements, 1, 1) \
601 F(HasFastObjectElements, 1, 1) \ 602 F(HasFastObjectElements, 1, 1) \
602 F(HasFastSmiOrObjectElements, 1, 1) \ 603 F(HasFastSmiOrObjectElements, 1, 1) \
603 F(HasFastDoubleElements, 1, 1) \ 604 F(HasFastDoubleElements, 1, 1) \
604 F(HasFastHoleyElements, 1, 1) \ 605 F(HasFastHoleyElements, 1, 1) \
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 865
865 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 866 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 867 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
867 STATIC_ASSERT(LANGUAGE_END == 3); 868 STATIC_ASSERT(LANGUAGE_END == 3);
868 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 869 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
869 870
870 } // namespace internal 871 } // namespace internal
871 } // namespace v8 872 } // namespace v8
872 873
873 #endif // V8_RUNTIME_RUNTIME_H_ 874 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698