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

Side by Side Diff: src/isolate.h

Issue 8677008: Relax inlining limits for simple leaf functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rename "heavy" and add comments. Created 9 years 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 V(bool, jump_target_compiling_deferred_code, false) \ 344 V(bool, jump_target_compiling_deferred_code, false) \
345 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 345 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
346 V(Object*, string_stream_current_security_token, NULL) \ 346 V(Object*, string_stream_current_security_token, NULL) \
347 /* TODO(isolates): Release this on destruction? */ \ 347 /* TODO(isolates): Release this on destruction? */ \
348 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 348 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
349 /* Serializer state. */ \ 349 /* Serializer state. */ \
350 V(ExternalReferenceTable*, external_reference_table, NULL) \ 350 V(ExternalReferenceTable*, external_reference_table, NULL) \
351 /* AstNode state. */ \ 351 /* AstNode state. */ \
352 V(unsigned, ast_node_id, 0) \ 352 V(unsigned, ast_node_id, 0) \
353 V(unsigned, ast_node_count, 0) \ 353 V(unsigned, ast_node_count, 0) \
354 V(unsigned, non_primitive_ast_node_count, 0) \
354 /* SafeStackFrameIterator activations count. */ \ 355 /* SafeStackFrameIterator activations count. */ \
355 V(int, safe_stack_iterator_counter, 0) \ 356 V(int, safe_stack_iterator_counter, 0) \
356 V(uint64_t, enabled_cpu_features, 0) \ 357 V(uint64_t, enabled_cpu_features, 0) \
357 V(CpuProfiler*, cpu_profiler, NULL) \ 358 V(CpuProfiler*, cpu_profiler, NULL) \
358 V(HeapProfiler*, heap_profiler, NULL) \ 359 V(HeapProfiler*, heap_profiler, NULL) \
359 ISOLATE_PLATFORM_INIT_LIST(V) \ 360 ISOLATE_PLATFORM_INIT_LIST(V) \
360 ISOLATE_DEBUGGER_INIT_LIST(V) 361 ISOLATE_DEBUGGER_INIT_LIST(V)
361 362
362 class Isolate { 363 class Isolate {
363 // These forward declarations are required to make the friend declarations in 364 // These forward declarations are required to make the friend declarations in
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 1367
1367 // Mark the global context with out of memory. 1368 // Mark the global context with out of memory.
1368 inline void Context::mark_out_of_memory() { 1369 inline void Context::mark_out_of_memory() {
1369 global_context()->set_out_of_memory(HEAP->true_value()); 1370 global_context()->set_out_of_memory(HEAP->true_value());
1370 } 1371 }
1371 1372
1372 1373
1373 } } // namespace v8::internal 1374 } } // namespace v8::internal
1374 1375
1375 #endif // V8_ISOLATE_H_ 1376 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698