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

Side by Side Diff: src/runtime.h

Issue 18143: Change the handling of catch blocks to use context extension objects... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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/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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 F(DebugConstructedBy, 2) \ 246 F(DebugConstructedBy, 2) \
247 F(GetPrototype, 1) \ 247 F(GetPrototype, 1) \
248 F(SystemBreak, 0) \ 248 F(SystemBreak, 0) \
249 \ 249 \
250 /* Literals */ \ 250 /* Literals */ \
251 F(MaterializeRegExpLiteral, 4)\ 251 F(MaterializeRegExpLiteral, 4)\
252 F(CreateArrayLiteral, 2) \ 252 F(CreateArrayLiteral, 2) \
253 F(CreateObjectLiteralBoilerplate, 3) \ 253 F(CreateObjectLiteralBoilerplate, 3) \
254 F(CloneObjectLiteralBoilerplate, 1) \ 254 F(CloneObjectLiteralBoilerplate, 1) \
255 \ 255 \
256 /* Catch context extension objects */ \
257 F(CreateCatchExtensionObject, 2) \
258 \
256 /* Statements */ \ 259 /* Statements */ \
257 F(NewClosure, 2) \ 260 F(NewClosure, 2) \
258 F(NewObject, 1) \ 261 F(NewObject, 1) \
259 F(Throw, 1) \ 262 F(Throw, 1) \
260 F(ReThrow, 1) \ 263 F(ReThrow, 1) \
261 F(ThrowReferenceError, 1) \ 264 F(ThrowReferenceError, 1) \
262 F(StackGuard, 1) \ 265 F(StackGuard, 1) \
263 \ 266 \
264 /* Contexts */ \ 267 /* Contexts */ \
265 F(NewContext, 1) \ 268 F(NewContext, 1) \
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key); 366 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key);
364 367
365 // Helper functions used stubs. 368 // Helper functions used stubs.
366 static void PerformGC(Object* result); 369 static void PerformGC(Object* result);
367 }; 370 };
368 371
369 372
370 } } // namespace v8::internal 373 } } // namespace v8::internal
371 374
372 #endif // V8_RUNTIME_H_ 375 #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