OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 10335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10346 } | 10346 } |
10347 } | 10347 } |
10348 | 10348 |
10349 | 10349 |
10350 // Identify kind of code. | 10350 // Identify kind of code. |
10351 const char* Code::Kind2String(Kind kind) { | 10351 const char* Code::Kind2String(Kind kind) { |
10352 switch (kind) { | 10352 switch (kind) { |
10353 #define CASE(name) case name: return #name; | 10353 #define CASE(name) case name: return #name; |
10354 CODE_KIND_LIST(CASE) | 10354 CODE_KIND_LIST(CASE) |
10355 #undef CASE | 10355 #undef CASE |
| 10356 case NUMBER_OF_KINDS: break; |
10356 } | 10357 } |
10357 UNREACHABLE(); | 10358 UNREACHABLE(); |
10358 return NULL; | 10359 return NULL; |
10359 } | 10360 } |
10360 | 10361 |
10361 | 10362 |
10362 #ifdef ENABLE_DISASSEMBLER | 10363 #ifdef ENABLE_DISASSEMBLER |
10363 | 10364 |
10364 void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) { | 10365 void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) { |
10365 disasm::NameConverter converter; | 10366 disasm::NameConverter converter; |
(...skipping 5388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15754 return static_cast<Type*>(type_raw()); | 15755 return static_cast<Type*>(type_raw()); |
15755 } | 15756 } |
15756 | 15757 |
15757 | 15758 |
15758 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) { | 15759 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) { |
15759 set_type_raw(type, ignored); | 15760 set_type_raw(type, ignored); |
15760 } | 15761 } |
15761 | 15762 |
15762 | 15763 |
15763 } } // namespace v8::internal | 15764 } } // namespace v8::internal |
OLD | NEW |