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

Side by Side Diff: src/runtime.h

Issue 7275022: Explicitly pass the closure when allocating a catch or with context. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
« no previous file with comments | « src/ia32/full-codegen-ia32.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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 F(NewObjectFromBound, 2, 1) \ 291 F(NewObjectFromBound, 2, 1) \
292 F(FinalizeInstanceSize, 1, 1) \ 292 F(FinalizeInstanceSize, 1, 1) \
293 F(Throw, 1, 1) \ 293 F(Throw, 1, 1) \
294 F(ReThrow, 1, 1) \ 294 F(ReThrow, 1, 1) \
295 F(ThrowReferenceError, 1, 1) \ 295 F(ThrowReferenceError, 1, 1) \
296 F(StackGuard, 0, 1) \ 296 F(StackGuard, 0, 1) \
297 F(PromoteScheduledException, 0, 1) \ 297 F(PromoteScheduledException, 0, 1) \
298 \ 298 \
299 /* Contexts */ \ 299 /* Contexts */ \
300 F(NewFunctionContext, 1, 1) \ 300 F(NewFunctionContext, 1, 1) \
301 F(PushWithContext, 1, 1) \ 301 F(PushWithContext, 2, 1) \
302 F(PushCatchContext, 2, 1) \ 302 F(PushCatchContext, 3, 1) \
303 F(DeleteContextSlot, 2, 1) \ 303 F(DeleteContextSlot, 2, 1) \
304 F(LoadContextSlot, 2, 2) \ 304 F(LoadContextSlot, 2, 2) \
305 F(LoadContextSlotNoReferenceError, 2, 2) \ 305 F(LoadContextSlotNoReferenceError, 2, 2) \
306 F(StoreContextSlot, 4, 1) \ 306 F(StoreContextSlot, 4, 1) \
307 \ 307 \
308 /* Declarations and initialization */ \ 308 /* Declarations and initialization */ \
309 F(DeclareGlobals, 4, 1) \ 309 F(DeclareGlobals, 4, 1) \
310 F(DeclareContextSlot, 4, 1) \ 310 F(DeclareContextSlot, 4, 1) \
311 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ 311 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \
312 F(InitializeConstGlobal, 2, 1) \ 312 F(InitializeConstGlobal, 2, 1) \
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 Handle<Script> script, 646 Handle<Script> script,
647 int position); 647 int position);
648 648
649 // Helper functions used stubs. 649 // Helper functions used stubs.
650 static void PerformGC(Object* result); 650 static void PerformGC(Object* result);
651 }; 651 };
652 652
653 } } // namespace v8::internal 653 } } // namespace v8::internal
654 654
655 #endif // V8_RUNTIME_H_ 655 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698