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

Side by Side Diff: src/runtime.h

Issue 341082: Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor (Closed)
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
« 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) \
237 \ 238 \
238 /* Contexts */ \ 239 /* Contexts */ \
239 F(NewContext, 1, 1) \ 240 F(NewContext, 1, 1) \
240 F(PushContext, 1, 1) \ 241 F(PushContext, 1, 1) \
241 F(PushCatchContext, 1, 1) \ 242 F(PushCatchContext, 1, 1) \
242 F(LookupContext, 2, 1) \ 243 F(LookupContext, 2, 1) \
243 F(LoadContextSlot, 2, 2) \ 244 F(LoadContextSlot, 2, 2) \
244 F(LoadContextSlotNoReferenceError, 2, 2) \ 245 F(LoadContextSlotNoReferenceError, 2, 2) \
245 F(StoreContextSlot, 3, 1) \ 246 F(StoreContextSlot, 3, 1) \
246 \ 247 \
247 /* Declarations and initialization */ \ 248 /* Declarations and initialization */ \
248 F(DeclareGlobals, 3, 1) \ 249 F(DeclareGlobals, 3, 1) \
249 F(DeclareContextSlot, 4, 1) \ 250 F(DeclareContextSlot, 4, 1) \
250 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \ 251 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \
251 F(InitializeConstGlobal, 2, 1) \ 252 F(InitializeConstGlobal, 2, 1) \
252 F(InitializeConstContextSlot, 3, 1) \ 253 F(InitializeConstContextSlot, 3, 1) \
253 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 254 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
254 F(TransformToFastProperties, 1, 1) \ 255 F(TransformToFastProperties, 1, 1) \
255 \ 256 \
256 /* Debugging */ \ 257 /* Debugging */ \
257 F(DebugPrint, 1, 1) \ 258 F(DebugPrint, 1, 1) \
258 F(DebugTrace, 0, 1) \ 259 F(DebugTrace, 0, 1) \
259 F(TraceEnter, 0, 1) \ 260 F(TraceEnter, 0, 1) \
260 F(TraceExit, 1, 1) \ 261 F(TraceExit, 1, 1) \
261 F(Abort, 2, 1) \ 262 F(Abort, 2, 1) \
262 /* Logging */ \ 263 /* Logging */ \
263 F(Log, 2, 1) \ 264 F(Log, 2, 1) \
264 /* ES5 */ \ 265 /* ES5 */ \
265 F(LocalKeys, 1, 1) \ 266 F(LocalKeys, 1, 1) \
267 /* Handle scopes */ \
268 F(DeleteHandleScopeExtensions, 0, 1) \
266 \ 269 \
267 /* Pseudo functions - handled as macros by parser */ \ 270 /* Pseudo functions - handled as macros by parser */ \
268 F(IS_VAR, 1, 1) 271 F(IS_VAR, 1, 1)
269 272
270 #ifdef ENABLE_DEBUGGER_SUPPORT 273 #ifdef ENABLE_DEBUGGER_SUPPORT
271 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ 274 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
272 /* Debugger support*/ \ 275 /* Debugger support*/ \
273 F(DebugBreak, 0, 1) \ 276 F(DebugBreak, 0, 1) \
274 F(SetDebugEventListener, 2, 1) \ 277 F(SetDebugEventListener, 2, 1) \
275 F(Break, 0, 1) \ 278 F(Break, 0, 1) \
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 int position); 407 int position);
405 408
406 // Helper functions used stubs. 409 // Helper functions used stubs.
407 static void PerformGC(Object* result); 410 static void PerformGC(Object* result);
408 }; 411 };
409 412
410 413
411 } } // namespace v8::internal 414 } } // namespace v8::internal
412 415
413 #endif // V8_RUNTIME_H_ 416 #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