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

Side by Side Diff: src/code-stubs.cc

Issue 6341: Improve the generated code for the instanceof operator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 case RecordWrite: 103 case RecordWrite:
104 return "RecordWrite"; 104 return "RecordWrite";
105 case StackCheck: 105 case StackCheck:
106 return "StackCheck"; 106 return "StackCheck";
107 case UnarySub: 107 case UnarySub:
108 return "UnarySub"; 108 return "UnarySub";
109 case RevertToNumber: 109 case RevertToNumber:
110 return "RevertToNumber"; 110 return "RevertToNumber";
111 case ToBoolean: 111 case ToBoolean:
112 return "ToBoolean"; 112 return "ToBoolean";
113 case Instanceof:
114 return "Instanceof";
113 case CounterOp: 115 case CounterOp:
114 return "CounterOp"; 116 return "CounterOp";
115 case ArgumentsAccess: 117 case ArgumentsAccess:
116 return "ArgumentsAccess"; 118 return "ArgumentsAccess";
117 case Runtime: 119 case Runtime:
118 return "Runtime"; 120 return "Runtime";
119 case CEntry: 121 case CEntry:
120 return "CEntry"; 122 return "CEntry";
121 case JSEntry: 123 case JSEntry:
122 return "JSEntry"; 124 return "JSEntry";
123 case GetProperty: 125 case GetProperty:
124 return "GetProperty"; 126 return "GetProperty";
125 case SetProperty: 127 case SetProperty:
126 return "SetProperty"; 128 return "SetProperty";
127 case InvokeBuiltin: 129 case InvokeBuiltin:
128 return "InvokeBuiltin"; 130 return "InvokeBuiltin";
129 case JSExit: 131 case JSExit:
130 return "JSExit"; 132 return "JSExit";
131 default: 133 default:
132 UNREACHABLE(); 134 UNREACHABLE();
133 return NULL; 135 return NULL;
134 } 136 }
135 } 137 }
136 138
137 139
138 } } // namespace v8::internal 140 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/codegen-arm.cc » ('j') | src/macro-assembler-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698