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

Side by Side Diff: src/objects.cc

Issue 6879081: Added type recording for unary minus and unary bitwise negation. Note that the (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 8 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 6489 matching lines...) Expand 10 before | Expand all | Expand 10 after
6500 case STUB: return "STUB"; 6500 case STUB: return "STUB";
6501 case BUILTIN: return "BUILTIN"; 6501 case BUILTIN: return "BUILTIN";
6502 case LOAD_IC: return "LOAD_IC"; 6502 case LOAD_IC: return "LOAD_IC";
6503 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; 6503 case KEYED_LOAD_IC: return "KEYED_LOAD_IC";
6504 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC"; 6504 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC";
6505 case STORE_IC: return "STORE_IC"; 6505 case STORE_IC: return "STORE_IC";
6506 case KEYED_STORE_IC: return "KEYED_STORE_IC"; 6506 case KEYED_STORE_IC: return "KEYED_STORE_IC";
6507 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC"; 6507 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC";
6508 case CALL_IC: return "CALL_IC"; 6508 case CALL_IC: return "CALL_IC";
6509 case KEYED_CALL_IC: return "KEYED_CALL_IC"; 6509 case KEYED_CALL_IC: return "KEYED_CALL_IC";
6510 case TYPE_RECORDING_UNARY_OP_IC: return "TYPE_RECORDING_UNARY_OP_IC";
6510 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; 6511 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC";
6511 case COMPARE_IC: return "COMPARE_IC"; 6512 case COMPARE_IC: return "COMPARE_IC";
6512 } 6513 }
6513 UNREACHABLE(); 6514 UNREACHABLE();
6514 return NULL; 6515 return NULL;
6515 } 6516 }
6516 6517
6517 6518
6518 const char* Code::ICState2String(InlineCacheState state) { 6519 const char* Code::ICState2String(InlineCacheState state) {
6519 switch (state) { 6520 switch (state) {
(...skipping 3797 matching lines...) Expand 10 before | Expand all | Expand 10 after
10317 if (break_point_objects()->IsUndefined()) return 0; 10318 if (break_point_objects()->IsUndefined()) return 0;
10318 // Single beak point. 10319 // Single beak point.
10319 if (!break_point_objects()->IsFixedArray()) return 1; 10320 if (!break_point_objects()->IsFixedArray()) return 1;
10320 // Multiple break points. 10321 // Multiple break points.
10321 return FixedArray::cast(break_point_objects())->length(); 10322 return FixedArray::cast(break_point_objects())->length();
10322 } 10323 }
10323 #endif 10324 #endif
10324 10325
10325 10326
10326 } } // namespace v8::internal 10327 } } // namespace v8::internal
OLDNEW
« src/arm/code-stubs-arm.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698