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

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

Issue 6960011: Compare IC: add SYMBOLS state. (Closed)
Patch Set: Created 9 years, 7 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
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.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 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 break; 193 break;
194 case CompareIC::SMIS: 194 case CompareIC::SMIS:
195 GenerateSmis(masm); 195 GenerateSmis(masm);
196 break; 196 break;
197 case CompareIC::HEAP_NUMBERS: 197 case CompareIC::HEAP_NUMBERS:
198 GenerateHeapNumbers(masm); 198 GenerateHeapNumbers(masm);
199 break; 199 break;
200 case CompareIC::STRINGS: 200 case CompareIC::STRINGS:
201 GenerateStrings(masm); 201 GenerateStrings(masm);
202 break; 202 break;
203 case CompareIC::SYMBOLS:
204 GenerateSymbols(masm);
205 break;
203 case CompareIC::OBJECTS: 206 case CompareIC::OBJECTS:
204 GenerateObjects(masm); 207 GenerateObjects(masm);
205 break; 208 break;
206 default: 209 default:
207 UNREACHABLE(); 210 UNREACHABLE();
208 } 211 }
209 } 212 }
210 213
211 214
212 const char* InstanceofStub::GetName() { 215 const char* InstanceofStub::GetName() {
(...skipping 21 matching lines...) Expand all
234 OS::SNPrintF(Vector<char>(name_, kMaxNameLength), 237 OS::SNPrintF(Vector<char>(name_, kMaxNameLength),
235 "InstanceofStub%s%s%s", 238 "InstanceofStub%s%s%s",
236 args, 239 args,
237 inline_check, 240 inline_check,
238 return_true_false_object); 241 return_true_false_object);
239 return name_; 242 return name_;
240 } 243 }
241 244
242 245
243 } } // namespace v8::internal 246 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698