| 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 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 case LITERAL: | 1107 case LITERAL: |
| 1108 return 1; | 1108 return 1; |
| 1109 case FRAME: | 1109 case FRAME: |
| 1110 return 3; | 1110 return 3; |
| 1111 } | 1111 } |
| 1112 UNREACHABLE(); | 1112 UNREACHABLE(); |
| 1113 return -1; | 1113 return -1; |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 | 1116 |
| 1117 #ifdef DEBUG | 1117 #ifdef OBJECT_PRINT |
| 1118 | 1118 |
| 1119 const char* Translation::StringFor(Opcode opcode) { | 1119 const char* Translation::StringFor(Opcode opcode) { |
| 1120 switch (opcode) { | 1120 switch (opcode) { |
| 1121 case BEGIN: | 1121 case BEGIN: |
| 1122 return "BEGIN"; | 1122 return "BEGIN"; |
| 1123 case FRAME: | 1123 case FRAME: |
| 1124 return "FRAME"; | 1124 return "FRAME"; |
| 1125 case REGISTER: | 1125 case REGISTER: |
| 1126 return "REGISTER"; | 1126 return "REGISTER"; |
| 1127 case INT32_REGISTER: | 1127 case INT32_REGISTER: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1158 } | 1158 } |
| 1159 | 1159 |
| 1160 | 1160 |
| 1161 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { | 1161 DeoptimizingCodeListNode::~DeoptimizingCodeListNode() { |
| 1162 GlobalHandles* global_handles = Isolate::Current()->global_handles(); | 1162 GlobalHandles* global_handles = Isolate::Current()->global_handles(); |
| 1163 global_handles->Destroy(reinterpret_cast<Object**>(code_.location())); | 1163 global_handles->Destroy(reinterpret_cast<Object**>(code_.location())); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 | 1166 |
| 1167 } } // namespace v8::internal | 1167 } } // namespace v8::internal |
| OLD | NEW |