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

Side by Side Diff: src/objects-inl.h

Issue 10910161: Partial ia32 implementation of optimized try/catch (by Kevin Millikin) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed build. Created 8 years, 3 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/objects.cc ('k') | src/objects-printer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 3978 matching lines...) Expand 10 before | Expand all | Expand 10 after
3989 kExtendedModeFunction) 3989 kExtendedModeFunction)
3990 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) 3990 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative)
3991 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, 3991 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
3992 name_should_print_as_anonymous, 3992 name_should_print_as_anonymous,
3993 kNameShouldPrintAsAnonymous) 3993 kNameShouldPrintAsAnonymous)
3994 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) 3994 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
3995 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) 3995 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
3996 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 3996 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
3997 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, 3997 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize,
3998 kDontOptimize) 3998 kDontOptimize)
3999 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_osr,
4000 kDontOsr)
3999 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) 4001 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline)
4000 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) 4002 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
4001 4003
4002 void SharedFunctionInfo::BeforeVisitingPointers() { 4004 void SharedFunctionInfo::BeforeVisitingPointers() {
4003 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); 4005 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap();
4004 4006
4005 // Flush optimized code map on major GC. 4007 // Flush optimized code map on major GC.
4006 // Note: we may experiment with rebuilding it or retaining entries 4008 // Note: we may experiment with rebuilding it or retaining entries
4007 // which should survive as we iterate through optimized functions 4009 // which should survive as we iterate through optimized functions
4008 // anyway. 4010 // anyway.
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
5409 #undef WRITE_UINT32_FIELD 5411 #undef WRITE_UINT32_FIELD
5410 #undef READ_SHORT_FIELD 5412 #undef READ_SHORT_FIELD
5411 #undef WRITE_SHORT_FIELD 5413 #undef WRITE_SHORT_FIELD
5412 #undef READ_BYTE_FIELD 5414 #undef READ_BYTE_FIELD
5413 #undef WRITE_BYTE_FIELD 5415 #undef WRITE_BYTE_FIELD
5414 5416
5415 5417
5416 } } // namespace v8::internal 5418 } } // namespace v8::internal
5417 5419
5418 #endif // V8_OBJECTS_INL_H_ 5420 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698