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

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

Issue 2669193002: [stubs] Remove obsolete CALL_IC code kind. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/objects.h ('k') | test/cctest/heap/test-heap.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 5261 matching lines...) Expand 10 before | Expand all | Expand 10 after
5272 #define CASE_DEBUG_BUILTIN(name) case Builtins::k##name: 5272 #define CASE_DEBUG_BUILTIN(name) case Builtins::k##name:
5273 BUILTIN_LIST_DBG(CASE_DEBUG_BUILTIN) 5273 BUILTIN_LIST_DBG(CASE_DEBUG_BUILTIN)
5274 #undef CASE_DEBUG_BUILTIN 5274 #undef CASE_DEBUG_BUILTIN
5275 return true; 5275 return true;
5276 default: 5276 default:
5277 return false; 5277 return false;
5278 } 5278 }
5279 return false; 5279 return false;
5280 } 5280 }
5281 bool Code::is_handler() { return kind() == HANDLER; } 5281 bool Code::is_handler() { return kind() == HANDLER; }
5282 bool Code::is_call_stub() { return kind() == CALL_IC; }
5283 bool Code::is_binary_op_stub() { return kind() == BINARY_OP_IC; } 5282 bool Code::is_binary_op_stub() { return kind() == BINARY_OP_IC; }
5284 bool Code::is_compare_ic_stub() { return kind() == COMPARE_IC; } 5283 bool Code::is_compare_ic_stub() { return kind() == COMPARE_IC; }
5285 bool Code::is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } 5284 bool Code::is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; }
5286 bool Code::is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } 5285 bool Code::is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; }
5287 bool Code::is_wasm_code() { return kind() == WASM_FUNCTION; } 5286 bool Code::is_wasm_code() { return kind() == WASM_FUNCTION; }
5288 5287
5289 Address Code::constant_pool() { 5288 Address Code::constant_pool() {
5290 Address constant_pool = NULL; 5289 Address constant_pool = NULL;
5291 if (FLAG_enable_embedded_constant_pool) { 5290 if (FLAG_enable_embedded_constant_pool) {
5292 int offset = constant_pool_offset(); 5291 int offset = constant_pool_offset();
(...skipping 3083 matching lines...) Expand 10 before | Expand all | Expand 10 after
8376 #undef WRITE_INT64_FIELD 8375 #undef WRITE_INT64_FIELD
8377 #undef READ_BYTE_FIELD 8376 #undef READ_BYTE_FIELD
8378 #undef WRITE_BYTE_FIELD 8377 #undef WRITE_BYTE_FIELD
8379 #undef NOBARRIER_READ_BYTE_FIELD 8378 #undef NOBARRIER_READ_BYTE_FIELD
8380 #undef NOBARRIER_WRITE_BYTE_FIELD 8379 #undef NOBARRIER_WRITE_BYTE_FIELD
8381 8380
8382 } // namespace internal 8381 } // namespace internal
8383 } // namespace v8 8382 } // namespace v8
8384 8383
8385 #endif // V8_OBJECTS_INL_H_ 8384 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698