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

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

Issue 2475203003: [compiler] Remove --ignition-preserve-bytecode flag. (Closed)
Patch Set: Created 4 years, 1 month 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
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 5042 matching lines...) Expand 10 before | Expand all | Expand 10 after
5053 } 5053 }
5054 5054
5055 5055
5056 inline bool Code::is_hydrogen_stub() { 5056 inline bool Code::is_hydrogen_stub() {
5057 return is_crankshafted() && kind() != OPTIMIZED_FUNCTION; 5057 return is_crankshafted() && kind() != OPTIMIZED_FUNCTION;
5058 } 5058 }
5059 5059
5060 inline bool Code::is_interpreter_trampoline_builtin() { 5060 inline bool Code::is_interpreter_trampoline_builtin() {
5061 Builtins* builtins = GetIsolate()->builtins(); 5061 Builtins* builtins = GetIsolate()->builtins();
5062 return this == *builtins->InterpreterEntryTrampoline() || 5062 return this == *builtins->InterpreterEntryTrampoline() ||
5063 this == *builtins->InterpreterEnterBytecodeDispatch() || 5063 this == *builtins->InterpreterEnterBytecodeDispatch();
5064 this == *builtins->InterpreterMarkBaselineOnReturn();
5065 } 5064 }
5066 5065
5067 inline bool Code::has_unwinding_info() const { 5066 inline bool Code::has_unwinding_info() const {
5068 return HasUnwindingInfoField::decode(READ_UINT32_FIELD(this, kFlagsOffset)); 5067 return HasUnwindingInfoField::decode(READ_UINT32_FIELD(this, kFlagsOffset));
5069 } 5068 }
5070 5069
5071 inline void Code::set_has_unwinding_info(bool state) { 5070 inline void Code::set_has_unwinding_info(bool state) {
5072 uint32_t previous = READ_UINT32_FIELD(this, kFlagsOffset); 5071 uint32_t previous = READ_UINT32_FIELD(this, kFlagsOffset);
5073 uint32_t updated_value = HasUnwindingInfoField::update(previous, state); 5072 uint32_t updated_value = HasUnwindingInfoField::update(previous, state);
5074 WRITE_UINT32_FIELD(this, kFlagsOffset, updated_value); 5073 WRITE_UINT32_FIELD(this, kFlagsOffset, updated_value);
(...skipping 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after
8431 #undef WRITE_INT64_FIELD 8430 #undef WRITE_INT64_FIELD
8432 #undef READ_BYTE_FIELD 8431 #undef READ_BYTE_FIELD
8433 #undef WRITE_BYTE_FIELD 8432 #undef WRITE_BYTE_FIELD
8434 #undef NOBARRIER_READ_BYTE_FIELD 8433 #undef NOBARRIER_READ_BYTE_FIELD
8435 #undef NOBARRIER_WRITE_BYTE_FIELD 8434 #undef NOBARRIER_WRITE_BYTE_FIELD
8436 8435
8437 } // namespace internal 8436 } // namespace internal
8438 } // namespace v8 8437 } // namespace v8
8439 8438
8440 #endif // V8_OBJECTS_INL_H_ 8439 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/compiler.cc ('K') | « src/frames.cc ('k') | test/cctest/test-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698