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

Side by Side Diff: src/runtime.h

Issue 11093074: Get rid of static module allocation, do it in code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed last comments; added other back-ends Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/rewriter.cc ('k') | src/runtime.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 F(StackGuard, 0, 1) \ 328 F(StackGuard, 0, 1) \
329 F(Interrupt, 0, 1) \ 329 F(Interrupt, 0, 1) \
330 F(PromoteScheduledException, 0, 1) \ 330 F(PromoteScheduledException, 0, 1) \
331 \ 331 \
332 /* Contexts */ \ 332 /* Contexts */ \
333 F(NewGlobalContext, 2, 1) \ 333 F(NewGlobalContext, 2, 1) \
334 F(NewFunctionContext, 1, 1) \ 334 F(NewFunctionContext, 1, 1) \
335 F(PushWithContext, 2, 1) \ 335 F(PushWithContext, 2, 1) \
336 F(PushCatchContext, 3, 1) \ 336 F(PushCatchContext, 3, 1) \
337 F(PushBlockContext, 2, 1) \ 337 F(PushBlockContext, 2, 1) \
338 F(PushModuleContext, 1, 1) \ 338 F(PushModuleContext, 2, 1) \
339 F(DeleteContextSlot, 2, 1) \ 339 F(DeleteContextSlot, 2, 1) \
340 F(LoadContextSlot, 2, 2) \ 340 F(LoadContextSlot, 2, 2) \
341 F(LoadContextSlotNoReferenceError, 2, 2) \ 341 F(LoadContextSlotNoReferenceError, 2, 2) \
342 F(StoreContextSlot, 4, 1) \ 342 F(StoreContextSlot, 4, 1) \
343 \ 343 \
344 /* Declarations and initialization */ \ 344 /* Declarations and initialization */ \
345 F(DeclareGlobals, 3, 1) \ 345 F(DeclareGlobals, 3, 1) \
346 F(DeclareModules, 1, 1) \
346 F(DeclareContextSlot, 4, 1) \ 347 F(DeclareContextSlot, 4, 1) \
347 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ 348 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \
348 F(InitializeConstGlobal, 2, 1) \ 349 F(InitializeConstGlobal, 2, 1) \
349 F(InitializeConstContextSlot, 3, 1) \ 350 F(InitializeConstContextSlot, 3, 1) \
350 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 351 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
351 \ 352 \
352 /* Debugging */ \ 353 /* Debugging */ \
353 F(DebugPrint, 1, 1) \ 354 F(DebugPrint, 1, 1) \
354 F(DebugTrace, 0, 1) \ 355 F(DebugTrace, 0, 1) \
355 F(TraceEnter, 0, 1) \ 356 F(TraceEnter, 0, 1) \
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 //--------------------------------------------------------------------------- 704 //---------------------------------------------------------------------------
704 // Constants used by interface to runtime functions. 705 // Constants used by interface to runtime functions.
705 706
706 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 707 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
707 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 708 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
708 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 709 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
709 710
710 } } // namespace v8::internal 711 } } // namespace v8::internal
711 712
712 #endif // V8_RUNTIME_H_ 713 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/rewriter.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698