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

Side by Side Diff: src/runtime.h

Issue 343035: Reverting 3159, 3151 and 3150 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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/objects-inl.h ('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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 /* Catch context extension objects */ \ 227 /* Catch context extension objects */ \
228 F(CreateCatchExtensionObject, 2, 1) \ 228 F(CreateCatchExtensionObject, 2, 1) \
229 \ 229 \
230 /* Statements */ \ 230 /* Statements */ \
231 F(NewClosure, 2, 1) \ 231 F(NewClosure, 2, 1) \
232 F(NewObject, 1, 1) \ 232 F(NewObject, 1, 1) \
233 F(Throw, 1, 1) \ 233 F(Throw, 1, 1) \
234 F(ReThrow, 1, 1) \ 234 F(ReThrow, 1, 1) \
235 F(ThrowReferenceError, 1, 1) \ 235 F(ThrowReferenceError, 1, 1) \
236 F(StackGuard, 1, 1) \ 236 F(StackGuard, 1, 1) \
237 F(PromoteScheduledException, 0, 1) \
238 \ 237 \
239 /* Contexts */ \ 238 /* Contexts */ \
240 F(NewContext, 1, 1) \ 239 F(NewContext, 1, 1) \
241 F(PushContext, 1, 1) \ 240 F(PushContext, 1, 1) \
242 F(PushCatchContext, 1, 1) \ 241 F(PushCatchContext, 1, 1) \
243 F(LookupContext, 2, 1) \ 242 F(LookupContext, 2, 1) \
244 F(LoadContextSlot, 2, 2) \ 243 F(LoadContextSlot, 2, 2) \
245 F(LoadContextSlotNoReferenceError, 2, 2) \ 244 F(LoadContextSlotNoReferenceError, 2, 2) \
246 F(StoreContextSlot, 3, 1) \ 245 F(StoreContextSlot, 3, 1) \
247 \ 246 \
248 /* Declarations and initialization */ \ 247 /* Declarations and initialization */ \
249 F(DeclareGlobals, 3, 1) \ 248 F(DeclareGlobals, 3, 1) \
250 F(DeclareContextSlot, 4, 1) \ 249 F(DeclareContextSlot, 4, 1) \
251 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \ 250 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \
252 F(InitializeConstGlobal, 2, 1) \ 251 F(InitializeConstGlobal, 2, 1) \
253 F(InitializeConstContextSlot, 3, 1) \ 252 F(InitializeConstContextSlot, 3, 1) \
254 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 253 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
255 F(TransformToFastProperties, 1, 1) \ 254 F(TransformToFastProperties, 1, 1) \
256 \ 255 \
257 /* Debugging */ \ 256 /* Debugging */ \
258 F(DebugPrint, 1, 1) \ 257 F(DebugPrint, 1, 1) \
259 F(DebugTrace, 0, 1) \ 258 F(DebugTrace, 0, 1) \
260 F(TraceEnter, 0, 1) \ 259 F(TraceEnter, 0, 1) \
261 F(TraceExit, 1, 1) \ 260 F(TraceExit, 1, 1) \
262 F(Abort, 2, 1) \ 261 F(Abort, 2, 1) \
263 /* Logging */ \ 262 /* Logging */ \
264 F(Log, 2, 1) \ 263 F(Log, 2, 1) \
265 /* ES5 */ \ 264 /* ES5 */ \
266 F(LocalKeys, 1, 1) \ 265 F(LocalKeys, 1, 1) \
267 /* Handle scopes */ \
268 F(DeleteHandleScopeExtensions, 0, 1) \
269 \ 266 \
270 /* Pseudo functions - handled as macros by parser */ \ 267 /* Pseudo functions - handled as macros by parser */ \
271 F(IS_VAR, 1, 1) 268 F(IS_VAR, 1, 1)
272 269
273 #ifdef ENABLE_DEBUGGER_SUPPORT 270 #ifdef ENABLE_DEBUGGER_SUPPORT
274 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ 271 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
275 /* Debugger support*/ \ 272 /* Debugger support*/ \
276 F(DebugBreak, 0, 1) \ 273 F(DebugBreak, 0, 1) \
277 F(SetDebugEventListener, 2, 1) \ 274 F(SetDebugEventListener, 2, 1) \
278 F(Break, 0, 1) \ 275 F(Break, 0, 1) \
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 int position); 404 int position);
408 405
409 // Helper functions used stubs. 406 // Helper functions used stubs.
410 static void PerformGC(Object* result); 407 static void PerformGC(Object* result);
411 }; 408 };
412 409
413 410
414 } } // namespace v8::internal 411 } } // namespace v8::internal
415 412
416 #endif // V8_RUNTIME_H_ 413 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698