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

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

Issue 2487173002: [turbofan] Advance bytecode offset after lazy deopt. (Closed)
Patch Set: Properly restore context. 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
« no previous file with comments | « src/frames.cc ('k') | src/runtime/runtime.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 5037 matching lines...) Expand 10 before | Expand all | Expand 10 after
5048 } 5048 }
5049 5049
5050 5050
5051 inline bool Code::is_hydrogen_stub() { 5051 inline bool Code::is_hydrogen_stub() {
5052 return is_crankshafted() && kind() != OPTIMIZED_FUNCTION; 5052 return is_crankshafted() && kind() != OPTIMIZED_FUNCTION;
5053 } 5053 }
5054 5054
5055 inline bool Code::is_interpreter_trampoline_builtin() { 5055 inline bool Code::is_interpreter_trampoline_builtin() {
5056 Builtins* builtins = GetIsolate()->builtins(); 5056 Builtins* builtins = GetIsolate()->builtins();
5057 return this == *builtins->InterpreterEntryTrampoline() || 5057 return this == *builtins->InterpreterEntryTrampoline() ||
5058 this == *builtins->InterpreterEnterBytecodeAdvance() ||
5058 this == *builtins->InterpreterEnterBytecodeDispatch(); 5059 this == *builtins->InterpreterEnterBytecodeDispatch();
5059 } 5060 }
5060 5061
5061 inline bool Code::has_unwinding_info() const { 5062 inline bool Code::has_unwinding_info() const {
5062 return HasUnwindingInfoField::decode(READ_UINT32_FIELD(this, kFlagsOffset)); 5063 return HasUnwindingInfoField::decode(READ_UINT32_FIELD(this, kFlagsOffset));
5063 } 5064 }
5064 5065
5065 inline void Code::set_has_unwinding_info(bool state) { 5066 inline void Code::set_has_unwinding_info(bool state) {
5066 uint32_t previous = READ_UINT32_FIELD(this, kFlagsOffset); 5067 uint32_t previous = READ_UINT32_FIELD(this, kFlagsOffset);
5067 uint32_t updated_value = HasUnwindingInfoField::update(previous, state); 5068 uint32_t updated_value = HasUnwindingInfoField::update(previous, state);
(...skipping 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after
8424 #undef WRITE_INT64_FIELD 8425 #undef WRITE_INT64_FIELD
8425 #undef READ_BYTE_FIELD 8426 #undef READ_BYTE_FIELD
8426 #undef WRITE_BYTE_FIELD 8427 #undef WRITE_BYTE_FIELD
8427 #undef NOBARRIER_READ_BYTE_FIELD 8428 #undef NOBARRIER_READ_BYTE_FIELD
8428 #undef NOBARRIER_WRITE_BYTE_FIELD 8429 #undef NOBARRIER_WRITE_BYTE_FIELD
8429 8430
8430 } // namespace internal 8431 } // namespace internal
8431 } // namespace v8 8432 } // namespace v8
8432 8433
8433 #endif // V8_OBJECTS_INL_H_ 8434 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698