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

Side by Side Diff: src/deoptimizer.cc

Issue 6580038: [Isolates] Merge from bleeding_edge, revisions 5934-6100. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 10 months 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/execution.cc » ('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 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698