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

Side by Side Diff: src/runtime.h

Issue 10690043: Implement proper module linking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 8 years, 5 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 | Annotate | Revision Log
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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 /* Getters and Setters */ \ 276 /* Getters and Setters */ \
277 F(LookupAccessor, 3, 1) \ 277 F(LookupAccessor, 3, 1) \
278 \ 278 \
279 /* Literals */ \ 279 /* Literals */ \
280 F(MaterializeRegExpLiteral, 4, 1)\ 280 F(MaterializeRegExpLiteral, 4, 1)\
281 F(CreateObjectLiteral, 4, 1) \ 281 F(CreateObjectLiteral, 4, 1) \
282 F(CreateObjectLiteralShallow, 4, 1) \ 282 F(CreateObjectLiteralShallow, 4, 1) \
283 F(CreateArrayLiteral, 3, 1) \ 283 F(CreateArrayLiteral, 3, 1) \
284 F(CreateArrayLiteralShallow, 3, 1) \ 284 F(CreateArrayLiteralShallow, 3, 1) \
285 \ 285 \
286 /* Harmony modules */ \
287 F(IsJSModule, 1, 1) \
288 \
286 /* Harmony proxies */ \ 289 /* Harmony proxies */ \
287 F(CreateJSProxy, 2, 1) \ 290 F(CreateJSProxy, 2, 1) \
288 F(CreateJSFunctionProxy, 4, 1) \ 291 F(CreateJSFunctionProxy, 4, 1) \
289 F(IsJSProxy, 1, 1) \ 292 F(IsJSProxy, 1, 1) \
290 F(IsJSFunctionProxy, 1, 1) \ 293 F(IsJSFunctionProxy, 1, 1) \
291 F(GetHandler, 1, 1) \ 294 F(GetHandler, 1, 1) \
292 F(GetCallTrap, 1, 1) \ 295 F(GetCallTrap, 1, 1) \
293 F(GetConstructTrap, 1, 1) \ 296 F(GetConstructTrap, 1, 1) \
294 F(Fix, 1, 1) \ 297 F(Fix, 1, 1) \
295 \ 298 \
(...skipping 27 matching lines...) Expand all
323 F(ThrowReferenceError, 1, 1) \ 326 F(ThrowReferenceError, 1, 1) \
324 F(StackGuard, 0, 1) \ 327 F(StackGuard, 0, 1) \
325 F(Interrupt, 0, 1) \ 328 F(Interrupt, 0, 1) \
326 F(PromoteScheduledException, 0, 1) \ 329 F(PromoteScheduledException, 0, 1) \
327 \ 330 \
328 /* Contexts */ \ 331 /* Contexts */ \
329 F(NewFunctionContext, 1, 1) \ 332 F(NewFunctionContext, 1, 1) \
330 F(PushWithContext, 2, 1) \ 333 F(PushWithContext, 2, 1) \
331 F(PushCatchContext, 3, 1) \ 334 F(PushCatchContext, 3, 1) \
332 F(PushBlockContext, 2, 1) \ 335 F(PushBlockContext, 2, 1) \
333 F(PushModuleContext, 2, 1) \ 336 F(PushModuleContext, 1, 1) \
334 F(DeleteContextSlot, 2, 1) \ 337 F(DeleteContextSlot, 2, 1) \
335 F(LoadContextSlot, 2, 2) \ 338 F(LoadContextSlot, 2, 2) \
336 F(LoadContextSlotNoReferenceError, 2, 2) \ 339 F(LoadContextSlotNoReferenceError, 2, 2) \
337 F(StoreContextSlot, 4, 1) \ 340 F(StoreContextSlot, 4, 1) \
338 \ 341 \
339 /* Declarations and initialization */ \ 342 /* Declarations and initialization */ \
340 F(DeclareGlobals, 3, 1) \ 343 F(DeclareGlobals, 3, 1) \
341 F(DeclareContextSlot, 4, 1) \ 344 F(DeclareContextSlot, 4, 1) \
342 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ 345 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \
343 F(InitializeConstGlobal, 2, 1) \ 346 F(InitializeConstGlobal, 2, 1) \
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 //--------------------------------------------------------------------------- 713 //---------------------------------------------------------------------------
711 // Constants used by interface to runtime functions. 714 // Constants used by interface to runtime functions.
712 715
713 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 716 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
714 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 717 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
715 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 718 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
716 719
717 } } // namespace v8::internal 720 } } // namespace v8::internal
718 721
719 #endif // V8_RUNTIME_H_ 722 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698