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

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

Issue 1724063002: Add WasmFrame, backtraces reflect wasm's presence (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
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 4954 matching lines...) Expand 10 before | Expand all | Expand 10 after
4965 bool Code::is_load_stub() { return kind() == LOAD_IC; } 4965 bool Code::is_load_stub() { return kind() == LOAD_IC; }
4966 bool Code::is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } 4966 bool Code::is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; }
4967 bool Code::is_store_stub() { return kind() == STORE_IC; } 4967 bool Code::is_store_stub() { return kind() == STORE_IC; }
4968 bool Code::is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } 4968 bool Code::is_keyed_store_stub() { return kind() == KEYED_STORE_IC; }
4969 bool Code::is_call_stub() { return kind() == CALL_IC; } 4969 bool Code::is_call_stub() { return kind() == CALL_IC; }
4970 bool Code::is_binary_op_stub() { return kind() == BINARY_OP_IC; } 4970 bool Code::is_binary_op_stub() { return kind() == BINARY_OP_IC; }
4971 bool Code::is_compare_ic_stub() { return kind() == COMPARE_IC; } 4971 bool Code::is_compare_ic_stub() { return kind() == COMPARE_IC; }
4972 bool Code::is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } 4972 bool Code::is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; }
4973 bool Code::is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } 4973 bool Code::is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; }
4974 bool Code::is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } 4974 bool Code::is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; }
4975 4975 bool Code::is_wasm_code() { return kind() == WASM_FUNCTION; }
4976 4976
4977 bool Code::embeds_maps_weakly() { 4977 bool Code::embeds_maps_weakly() {
4978 Kind k = kind(); 4978 Kind k = kind();
4979 return (k == LOAD_IC || k == STORE_IC || k == KEYED_LOAD_IC || 4979 return (k == LOAD_IC || k == STORE_IC || k == KEYED_LOAD_IC ||
4980 k == KEYED_STORE_IC || k == COMPARE_NIL_IC) && 4980 k == KEYED_STORE_IC || k == COMPARE_NIL_IC) &&
4981 ic_state() == MONOMORPHIC; 4981 ic_state() == MONOMORPHIC;
4982 } 4982 }
4983 4983
4984 4984
4985 Address Code::constant_pool() { 4985 Address Code::constant_pool() {
(...skipping 2683 matching lines...) Expand 10 before | Expand all | Expand 10 after
7669 #undef WRITE_INT64_FIELD 7669 #undef WRITE_INT64_FIELD
7670 #undef READ_BYTE_FIELD 7670 #undef READ_BYTE_FIELD
7671 #undef WRITE_BYTE_FIELD 7671 #undef WRITE_BYTE_FIELD
7672 #undef NOBARRIER_READ_BYTE_FIELD 7672 #undef NOBARRIER_READ_BYTE_FIELD
7673 #undef NOBARRIER_WRITE_BYTE_FIELD 7673 #undef NOBARRIER_WRITE_BYTE_FIELD
7674 7674
7675 } // namespace internal 7675 } // namespace internal
7676 } // namespace v8 7676 } // namespace v8
7677 7677
7678 #endif // V8_OBJECTS_INL_H_ 7678 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/isolate.cc ('K') | « src/objects.h ('k') | test/mjsunit/wasm/stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698