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

Side by Side Diff: src/deoptimizer.cc

Issue 5998001: 1. Added support for object printing for release mode using the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « src/deoptimizer.h ('k') | src/flag-definitions.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 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
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
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
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698