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

Side by Side Diff: src/runtime.cc

Issue 7787007: Key external array map transitions on ElementsKind instead of ExternalArrayType (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 3 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/property.cc ('k') | src/v8globals.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 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 10127 matching lines...) Expand 10 before | Expand all | Expand 10 after
10138 } 10138 }
10139 return maybe_value; 10139 return maybe_value;
10140 } 10140 }
10141 return value; 10141 return value;
10142 } else { 10142 } else {
10143 return heap->undefined_value(); 10143 return heap->undefined_value();
10144 } 10144 }
10145 } 10145 }
10146 case INTERCEPTOR: 10146 case INTERCEPTOR:
10147 case MAP_TRANSITION: 10147 case MAP_TRANSITION:
10148 case EXTERNAL_ARRAY_TRANSITION: 10148 case ELEMENTS_TRANSITION:
10149 case CONSTANT_TRANSITION: 10149 case CONSTANT_TRANSITION:
10150 case NULL_DESCRIPTOR: 10150 case NULL_DESCRIPTOR:
10151 return heap->undefined_value(); 10151 return heap->undefined_value();
10152 default: 10152 default:
10153 UNREACHABLE(); 10153 UNREACHABLE();
10154 } 10154 }
10155 UNREACHABLE(); 10155 UNREACHABLE();
10156 return heap->undefined_value(); 10156 return heap->undefined_value();
10157 } 10157 }
10158 10158
(...skipping 2985 matching lines...) Expand 10 before | Expand all | Expand 10 after
13144 } else { 13144 } else {
13145 // Handle last resort GC and make sure to allow future allocations 13145 // Handle last resort GC and make sure to allow future allocations
13146 // to grow the heap without causing GCs (if possible). 13146 // to grow the heap without causing GCs (if possible).
13147 isolate->counters()->gc_last_resort_from_js()->Increment(); 13147 isolate->counters()->gc_last_resort_from_js()->Increment();
13148 isolate->heap()->CollectAllGarbage(false); 13148 isolate->heap()->CollectAllGarbage(false);
13149 } 13149 }
13150 } 13150 }
13151 13151
13152 13152
13153 } } // namespace v8::internal 13153 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/property.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698