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

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

Issue 1888013002: Revert of Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/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 // 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 5485 matching lines...) Expand 10 before | Expand all | Expand 10 after
5496 ACCESSORS(Script, source, Object, kSourceOffset) 5496 ACCESSORS(Script, source, Object, kSourceOffset)
5497 ACCESSORS(Script, name, Object, kNameOffset) 5497 ACCESSORS(Script, name, Object, kNameOffset)
5498 SMI_ACCESSORS(Script, id, kIdOffset) 5498 SMI_ACCESSORS(Script, id, kIdOffset)
5499 SMI_ACCESSORS(Script, line_offset, kLineOffsetOffset) 5499 SMI_ACCESSORS(Script, line_offset, kLineOffsetOffset)
5500 SMI_ACCESSORS(Script, column_offset, kColumnOffsetOffset) 5500 SMI_ACCESSORS(Script, column_offset, kColumnOffsetOffset)
5501 ACCESSORS(Script, context_data, Object, kContextOffset) 5501 ACCESSORS(Script, context_data, Object, kContextOffset)
5502 ACCESSORS(Script, wrapper, HeapObject, kWrapperOffset) 5502 ACCESSORS(Script, wrapper, HeapObject, kWrapperOffset)
5503 SMI_ACCESSORS(Script, type, kTypeOffset) 5503 SMI_ACCESSORS(Script, type, kTypeOffset)
5504 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) 5504 ACCESSORS(Script, line_ends, Object, kLineEndsOffset)
5505 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset) 5505 ACCESSORS(Script, eval_from_shared, Object, kEvalFromSharedOffset)
5506 SMI_ACCESSORS(Script, eval_from_position, kEvalFromPositionOffset) 5506 SMI_ACCESSORS(Script, eval_from_instructions_offset,
5507 kEvalFrominstructionsOffsetOffset)
5507 ACCESSORS(Script, shared_function_infos, Object, kSharedFunctionInfosOffset) 5508 ACCESSORS(Script, shared_function_infos, Object, kSharedFunctionInfosOffset)
5508 SMI_ACCESSORS(Script, flags, kFlagsOffset) 5509 SMI_ACCESSORS(Script, flags, kFlagsOffset)
5509 ACCESSORS(Script, source_url, Object, kSourceUrlOffset) 5510 ACCESSORS(Script, source_url, Object, kSourceUrlOffset)
5510 ACCESSORS(Script, source_mapping_url, Object, kSourceMappingUrlOffset) 5511 ACCESSORS(Script, source_mapping_url, Object, kSourceMappingUrlOffset)
5511 5512
5512 Script::CompilationType Script::compilation_type() { 5513 Script::CompilationType Script::compilation_type() {
5513 return BooleanBit::get(flags(), kCompilationTypeBit) ? 5514 return BooleanBit::get(flags(), kCompilationTypeBit) ?
5514 COMPILATION_TYPE_EVAL : COMPILATION_TYPE_HOST; 5515 COMPILATION_TYPE_EVAL : COMPILATION_TYPE_HOST;
5515 } 5516 }
5516 void Script::set_compilation_type(CompilationType type) { 5517 void Script::set_compilation_type(CompilationType type) {
(...skipping 2283 matching lines...) Expand 10 before | Expand all | Expand 10 after
7800 #undef WRITE_INT64_FIELD 7801 #undef WRITE_INT64_FIELD
7801 #undef READ_BYTE_FIELD 7802 #undef READ_BYTE_FIELD
7802 #undef WRITE_BYTE_FIELD 7803 #undef WRITE_BYTE_FIELD
7803 #undef NOBARRIER_READ_BYTE_FIELD 7804 #undef NOBARRIER_READ_BYTE_FIELD
7804 #undef NOBARRIER_WRITE_BYTE_FIELD 7805 #undef NOBARRIER_WRITE_BYTE_FIELD
7805 7806
7806 } // namespace internal 7807 } // namespace internal
7807 } // namespace v8 7808 } // namespace v8
7808 7809
7809 #endif // V8_OBJECTS_INL_H_ 7810 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698