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

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

Issue 1164073003: [es6] super.prop, eval and lazy functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make the logger use 2 fields Created 5 years, 6 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.cc ('k') | src/parser.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 5392 matching lines...) Expand 10 before | Expand all | Expand 10 after
5403 5403
5404 5404
5405 void SharedFunctionInfo::set_kind(FunctionKind kind) { 5405 void SharedFunctionInfo::set_kind(FunctionKind kind) {
5406 DCHECK(IsValidFunctionKind(kind)); 5406 DCHECK(IsValidFunctionKind(kind));
5407 int hints = compiler_hints(); 5407 int hints = compiler_hints();
5408 hints = FunctionKindBits::update(hints, kind); 5408 hints = FunctionKindBits::update(hints, kind);
5409 set_compiler_hints(hints); 5409 set_compiler_hints(hints);
5410 } 5410 }
5411 5411
5412 5412
5413 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, uses_super_property, 5413 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, needs_home_object,
5414 kUsesSuperProperty) 5414 kNeedsHomeObject)
5415 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) 5415 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative)
5416 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline) 5416 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline)
5417 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, 5417 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
5418 name_should_print_as_anonymous, 5418 name_should_print_as_anonymous,
5419 kNameShouldPrintAsAnonymous) 5419 kNameShouldPrintAsAnonymous)
5420 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) 5420 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
5421 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) 5421 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
5422 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5422 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5423 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, 5423 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft,
5424 kDontCrankshaft) 5424 kDontCrankshaft)
(...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after
7359 #undef READ_SHORT_FIELD 7359 #undef READ_SHORT_FIELD
7360 #undef WRITE_SHORT_FIELD 7360 #undef WRITE_SHORT_FIELD
7361 #undef READ_BYTE_FIELD 7361 #undef READ_BYTE_FIELD
7362 #undef WRITE_BYTE_FIELD 7362 #undef WRITE_BYTE_FIELD
7363 #undef NOBARRIER_READ_BYTE_FIELD 7363 #undef NOBARRIER_READ_BYTE_FIELD
7364 #undef NOBARRIER_WRITE_BYTE_FIELD 7364 #undef NOBARRIER_WRITE_BYTE_FIELD
7365 7365
7366 } } // namespace v8::internal 7366 } } // namespace v8::internal
7367 7367
7368 #endif // V8_OBJECTS_INL_H_ 7368 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698