OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 case LITERAL: | 1089 case LITERAL: |
1090 return 1; | 1090 return 1; |
1091 case FRAME: | 1091 case FRAME: |
1092 return 3; | 1092 return 3; |
1093 } | 1093 } |
1094 UNREACHABLE(); | 1094 UNREACHABLE(); |
1095 return -1; | 1095 return -1; |
1096 } | 1096 } |
1097 | 1097 |
1098 | 1098 |
1099 #ifdef DEBUG | 1099 #ifdef OBJECT_PRINT |
1100 | 1100 |
1101 const char* Translation::StringFor(Opcode opcode) { | 1101 const char* Translation::StringFor(Opcode opcode) { |
1102 switch (opcode) { | 1102 switch (opcode) { |
1103 case BEGIN: | 1103 case BEGIN: |
1104 return "BEGIN"; | 1104 return "BEGIN"; |
1105 case FRAME: | 1105 case FRAME: |
1106 return "FRAME"; | 1106 return "FRAME"; |
1107 case REGISTER: | 1107 case REGISTER: |
1108 return "REGISTER"; | 1108 return "REGISTER"; |
1109 case INT32_REGISTER: | 1109 case INT32_REGISTER: |
(...skipping 28 matching lines...) Expand all Loading... |
1138 Deoptimizer::HandleWeakDeoptimizedCode); | 1138 Deoptimizer::HandleWeakDeoptimizedCode); |
1139 } | 1139 } |
1140 | 1140 |
1141 | 1141 |
1142 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { | 1142 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { |
1143 GlobalHandles::Destroy(reinterpret_cast<Object**>(code_.location())); | 1143 GlobalHandles::Destroy(reinterpret_cast<Object**>(code_.location())); |
1144 } | 1144 } |
1145 | 1145 |
1146 | 1146 |
1147 } } // namespace v8::internal | 1147 } } // namespace v8::internal |
OLD | NEW |