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

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

Issue 160073006: Implement handling of arrow functions in the parser (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased after latest changes in runtime.{h,cc} Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/parser.h » ('j') | src/parser.cc » ('J')
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 5369 matching lines...) Expand 10 before | Expand all | Expand 10 after
5380 kNameShouldPrintAsAnonymous) 5380 kNameShouldPrintAsAnonymous)
5381 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) 5381 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
5382 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) 5382 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
5383 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5383 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5384 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, 5384 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize,
5385 kDontOptimize) 5385 kDontOptimize)
5386 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) 5386 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline)
5387 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) 5387 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
5388 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5388 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5389 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5389 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5390 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5390 5391
5391 void SharedFunctionInfo::BeforeVisitingPointers() { 5392 void SharedFunctionInfo::BeforeVisitingPointers() {
5392 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); 5393 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap();
5393 } 5394 }
5394 5395
5395 5396
5396 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) 5397 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset)
5397 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) 5398 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset)
5398 5399
5399 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset) 5400 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset)
(...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after
7020 #undef READ_SHORT_FIELD 7021 #undef READ_SHORT_FIELD
7021 #undef WRITE_SHORT_FIELD 7022 #undef WRITE_SHORT_FIELD
7022 #undef READ_BYTE_FIELD 7023 #undef READ_BYTE_FIELD
7023 #undef WRITE_BYTE_FIELD 7024 #undef WRITE_BYTE_FIELD
7024 #undef NOBARRIER_READ_BYTE_FIELD 7025 #undef NOBARRIER_READ_BYTE_FIELD
7025 #undef NOBARRIER_WRITE_BYTE_FIELD 7026 #undef NOBARRIER_WRITE_BYTE_FIELD
7026 7027
7027 } } // namespace v8::internal 7028 } } // namespace v8::internal
7028 7029
7029 #endif // V8_OBJECTS_INL_H_ 7030 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/parser.h » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698