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

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

Issue 2521233002: [fullcodegen] Remove exception handling support. (Closed)
Patch Set: Rebased. Created 4 years 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/utils.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 5430 matching lines...) Expand 10 before | Expand all | Expand 10 after
5441 } 5441 }
5442 5442
5443 void AbstractCode::set_source_position_table(ByteArray* source_position_table) { 5443 void AbstractCode::set_source_position_table(ByteArray* source_position_table) {
5444 if (IsCode()) { 5444 if (IsCode()) {
5445 GetCode()->set_source_position_table(source_position_table); 5445 GetCode()->set_source_position_table(source_position_table);
5446 } else { 5446 } else {
5447 GetBytecodeArray()->set_source_position_table(source_position_table); 5447 GetBytecodeArray()->set_source_position_table(source_position_table);
5448 } 5448 }
5449 } 5449 }
5450 5450
5451 int AbstractCode::LookupRangeInHandlerTable(
5452 int code_offset, int* data, HandlerTable::CatchPrediction* prediction) {
5453 if (IsCode()) {
5454 return GetCode()->LookupRangeInHandlerTable(code_offset, data, prediction);
5455 } else {
5456 return GetBytecodeArray()->LookupRangeInHandlerTable(code_offset, data,
5457 prediction);
5458 }
5459 }
5460
5461 int AbstractCode::SizeIncludingMetadata() { 5451 int AbstractCode::SizeIncludingMetadata() {
5462 if (IsCode()) { 5452 if (IsCode()) {
5463 return GetCode()->SizeIncludingMetadata(); 5453 return GetCode()->SizeIncludingMetadata();
5464 } else { 5454 } else {
5465 return GetBytecodeArray()->SizeIncludingMetadata(); 5455 return GetBytecodeArray()->SizeIncludingMetadata();
5466 } 5456 }
5467 } 5457 }
5468 int AbstractCode::ExecutableSize() { 5458 int AbstractCode::ExecutableSize() {
5469 if (IsCode()) { 5459 if (IsCode()) {
5470 return GetCode()->ExecutableSize(); 5460 return GetCode()->ExecutableSize();
(...skipping 2973 matching lines...) Expand 10 before | Expand all | Expand 10 after
8444 #undef WRITE_INT64_FIELD 8434 #undef WRITE_INT64_FIELD
8445 #undef READ_BYTE_FIELD 8435 #undef READ_BYTE_FIELD
8446 #undef WRITE_BYTE_FIELD 8436 #undef WRITE_BYTE_FIELD
8447 #undef NOBARRIER_READ_BYTE_FIELD 8437 #undef NOBARRIER_READ_BYTE_FIELD
8448 #undef NOBARRIER_WRITE_BYTE_FIELD 8438 #undef NOBARRIER_WRITE_BYTE_FIELD
8449 8439
8450 } // namespace internal 8440 } // namespace internal
8451 } // namespace v8 8441 } // namespace v8
8452 8442
8453 #endif // V8_OBJECTS_INL_H_ 8443 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698