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

Side by Side Diff: src/runtime.h

Issue 1563005: Introduce fast native caches and use it in String.search. (Closed)
Patch Set: Last round :) Created 10 years, 8 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
« no previous file with comments | « src/objects.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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 F(DebugTrace, 0, 1) \ 281 F(DebugTrace, 0, 1) \
282 F(TraceEnter, 0, 1) \ 282 F(TraceEnter, 0, 1) \
283 F(TraceExit, 1, 1) \ 283 F(TraceExit, 1, 1) \
284 F(Abort, 2, 1) \ 284 F(Abort, 2, 1) \
285 /* Logging */ \ 285 /* Logging */ \
286 F(Log, 2, 1) \ 286 F(Log, 2, 1) \
287 /* ES5 */ \ 287 /* ES5 */ \
288 F(LocalKeys, 1, 1) \ 288 F(LocalKeys, 1, 1) \
289 /* Handle scopes */ \ 289 /* Handle scopes */ \
290 F(DeleteHandleScopeExtensions, 0, 1) \ 290 F(DeleteHandleScopeExtensions, 0, 1) \
291 /* Cache suport */ \
292 F(GetFromCache, 2, 1) \
291 \ 293 \
292 /* Pseudo functions - handled as macros by parser */ \ 294 /* Pseudo functions - handled as macros by parser */ \
293 F(IS_VAR, 1, 1) 295 F(IS_VAR, 1, 1)
294 296
295 #ifdef ENABLE_DEBUGGER_SUPPORT 297 #ifdef ENABLE_DEBUGGER_SUPPORT
296 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ 298 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
297 /* Debugger support*/ \ 299 /* Debugger support*/ \
298 F(DebugBreak, 0, 1) \ 300 F(DebugBreak, 0, 1) \
299 F(SetDebugEventListener, 2, 1) \ 301 F(SetDebugEventListener, 2, 1) \
300 F(Break, 0, 1) \ 302 F(Break, 0, 1) \
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 int position); 442 int position);
441 443
442 // Helper functions used stubs. 444 // Helper functions used stubs.
443 static void PerformGC(Object* result); 445 static void PerformGC(Object* result);
444 }; 446 };
445 447
446 448
447 } } // namespace v8::internal 449 } } // namespace v8::internal
448 450
449 #endif // V8_RUNTIME_H_ 451 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698