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

Side by Side Diff: src/runtime.h

Issue 7549008: Preliminary code for block scopes and block contexts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Small fix: set harmony flag properly Created 9 years, 4 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
« no previous file with comments | « src/parser.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 F(Throw, 1, 1) \ 303 F(Throw, 1, 1) \
304 F(ReThrow, 1, 1) \ 304 F(ReThrow, 1, 1) \
305 F(ThrowReferenceError, 1, 1) \ 305 F(ThrowReferenceError, 1, 1) \
306 F(StackGuard, 0, 1) \ 306 F(StackGuard, 0, 1) \
307 F(PromoteScheduledException, 0, 1) \ 307 F(PromoteScheduledException, 0, 1) \
308 \ 308 \
309 /* Contexts */ \ 309 /* Contexts */ \
310 F(NewFunctionContext, 1, 1) \ 310 F(NewFunctionContext, 1, 1) \
311 F(PushWithContext, 2, 1) \ 311 F(PushWithContext, 2, 1) \
312 F(PushCatchContext, 3, 1) \ 312 F(PushCatchContext, 3, 1) \
313 F(PushBlockContext, 2, 1) \
313 F(DeleteContextSlot, 2, 1) \ 314 F(DeleteContextSlot, 2, 1) \
314 F(LoadContextSlot, 2, 2) \ 315 F(LoadContextSlot, 2, 2) \
315 F(LoadContextSlotNoReferenceError, 2, 2) \ 316 F(LoadContextSlotNoReferenceError, 2, 2) \
316 F(StoreContextSlot, 4, 1) \ 317 F(StoreContextSlot, 4, 1) \
317 \ 318 \
318 /* Declarations and initialization */ \ 319 /* Declarations and initialization */ \
319 F(DeclareGlobals, 4, 1) \ 320 F(DeclareGlobals, 4, 1) \
320 F(DeclareContextSlot, 4, 1) \ 321 F(DeclareContextSlot, 4, 1) \
321 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ 322 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \
322 F(InitializeConstGlobal, 2, 1) \ 323 F(InitializeConstGlobal, 2, 1) \
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 Handle<Script> script, 660 Handle<Script> script,
660 int position); 661 int position);
661 662
662 // Helper functions used stubs. 663 // Helper functions used stubs.
663 static void PerformGC(Object* result); 664 static void PerformGC(Object* result);
664 }; 665 };
665 666
666 } } // namespace v8::internal 667 } } // namespace v8::internal
667 668
668 #endif // V8_RUNTIME_H_ 669 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698