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

Side by Side Diff: src/runtime.h

Issue 660095: Merge revision 3813 to 3930 from bleeding_edge to partial snapshots branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: '' Created 10 years, 10 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/register-allocator-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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 F(IsInPrototypeChain, 2, 1) \ 64 F(IsInPrototypeChain, 2, 1) \
65 F(SetHiddenPrototype, 2, 1) \ 65 F(SetHiddenPrototype, 2, 1) \
66 \ 66 \
67 F(IsConstructCall, 0, 1) \ 67 F(IsConstructCall, 0, 1) \
68 \ 68 \
69 F(GetOwnProperty, 2, 1) \ 69 F(GetOwnProperty, 2, 1) \
70 \ 70 \
71 F(IsExtensible, 1, 1) \ 71 F(IsExtensible, 1, 1) \
72 \ 72 \
73 /* Utilities */ \ 73 /* Utilities */ \
74 F(GetCalledFunction, 0, 1) \
75 F(GetFunctionDelegate, 1, 1) \ 74 F(GetFunctionDelegate, 1, 1) \
76 F(GetConstructorDelegate, 1, 1) \ 75 F(GetConstructorDelegate, 1, 1) \
77 F(NewArguments, 1, 1) \
78 F(NewArgumentsFast, 3, 1) \ 76 F(NewArgumentsFast, 3, 1) \
79 F(LazyCompile, 1, 1) \ 77 F(LazyCompile, 1, 1) \
80 F(SetNewFunctionAttributes, 1, 1) \ 78 F(SetNewFunctionAttributes, 1, 1) \
81 \ 79 \
82 /* Array join support */ \ 80 /* Array join support */ \
83 F(PushIfAbsent, 2, 1) \ 81 F(PushIfAbsent, 2, 1) \
84 F(ArrayConcat, 1, 1) \ 82 F(ArrayConcat, 1, 1) \
85 \ 83 \
86 /* Conversions */ \ 84 /* Conversions */ \
87 F(ToBool, 1, 1) \ 85 F(ToBool, 1, 1) \
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 F(LoadContextSlotNoReferenceError, 2, 2) \ 259 F(LoadContextSlotNoReferenceError, 2, 2) \
262 F(StoreContextSlot, 3, 1) \ 260 F(StoreContextSlot, 3, 1) \
263 \ 261 \
264 /* Declarations and initialization */ \ 262 /* Declarations and initialization */ \
265 F(DeclareGlobals, 3, 1) \ 263 F(DeclareGlobals, 3, 1) \
266 F(DeclareContextSlot, 4, 1) \ 264 F(DeclareContextSlot, 4, 1) \
267 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \ 265 F(InitializeVarGlobal, -1 /* 1 or 2 */, 1) \
268 F(InitializeConstGlobal, 2, 1) \ 266 F(InitializeConstGlobal, 2, 1) \
269 F(InitializeConstContextSlot, 3, 1) \ 267 F(InitializeConstContextSlot, 3, 1) \
270 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 268 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
271 F(TransformToFastProperties, 1, 1) \
272 \ 269 \
273 /* Debugging */ \ 270 /* Debugging */ \
274 F(DebugPrint, 1, 1) \ 271 F(DebugPrint, 1, 1) \
275 F(DebugTrace, 0, 1) \ 272 F(DebugTrace, 0, 1) \
276 F(TraceEnter, 0, 1) \ 273 F(TraceEnter, 0, 1) \
277 F(TraceExit, 1, 1) \ 274 F(TraceExit, 1, 1) \
278 F(Abort, 2, 1) \ 275 F(Abort, 2, 1) \
279 /* Logging */ \ 276 /* Logging */ \
280 F(Log, 2, 1) \ 277 F(Log, 2, 1) \
281 /* ES5 */ \ 278 /* ES5 */ \
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 F(SystemBreak, 0, 1) \ 321 F(SystemBreak, 0, 1) \
325 F(DebugDisassembleFunction, 1, 1) \ 322 F(DebugDisassembleFunction, 1, 1) \
326 F(DebugDisassembleConstructor, 1, 1) \ 323 F(DebugDisassembleConstructor, 1, 1) \
327 F(FunctionGetInferredName, 1, 1) 324 F(FunctionGetInferredName, 1, 1)
328 #else 325 #else
329 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) 326 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
330 #endif 327 #endif
331 328
332 #ifdef ENABLE_LOGGING_AND_PROFILING 329 #ifdef ENABLE_LOGGING_AND_PROFILING
333 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ 330 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \
334 F(ProfilerResume, 1, 1) \ 331 F(ProfilerResume, 2, 1) \
335 F(ProfilerPause, 1, 1) 332 F(ProfilerPause, 2, 1)
336 #else 333 #else
337 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) 334 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F)
338 #endif 335 #endif
339 336
340 #ifdef DEBUG 337 #ifdef DEBUG
341 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ 338 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \
342 /* Testing */ \ 339 /* Testing */ \
343 F(ListNatives, 0, 1) 340 F(ListNatives, 0, 1)
344 #else 341 #else
345 #define RUNTIME_FUNCTION_LIST_DEBUG(F) 342 #define RUNTIME_FUNCTION_LIST_DEBUG(F)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 int position); 421 int position);
425 422
426 // Helper functions used stubs. 423 // Helper functions used stubs.
427 static void PerformGC(Object* result); 424 static void PerformGC(Object* result);
428 }; 425 };
429 426
430 427
431 } } // namespace v8::internal 428 } } // namespace v8::internal
432 429
433 #endif // V8_RUNTIME_H_ 430 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/register-allocator-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698