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

Side by Side Diff: src/isolate.cc

Issue 368263003: Use a stub in crankshaft for grow store arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed remaining issues. Created 6 years, 5 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after
1987 ToBooleanStub::InstallDescriptors(this); 1987 ToBooleanStub::InstallDescriptors(this);
1988 ToNumberStub::InstallDescriptors(this); 1988 ToNumberStub::InstallDescriptors(this);
1989 ArrayConstructorStubBase::InstallDescriptors(this); 1989 ArrayConstructorStubBase::InstallDescriptors(this);
1990 InternalArrayConstructorStubBase::InstallDescriptors(this); 1990 InternalArrayConstructorStubBase::InstallDescriptors(this);
1991 FastNewClosureStub::InstallDescriptors(this); 1991 FastNewClosureStub::InstallDescriptors(this);
1992 FastNewContextStub::InstallDescriptors(this); 1992 FastNewContextStub::InstallDescriptors(this);
1993 NumberToStringStub::InstallDescriptors(this); 1993 NumberToStringStub::InstallDescriptors(this);
1994 StringAddStub::InstallDescriptors(this); 1994 StringAddStub::InstallDescriptors(this);
1995 RegExpConstructResultStub::InstallDescriptors(this); 1995 RegExpConstructResultStub::InstallDescriptors(this);
1996 KeyedLoadGenericElementStub::InstallDescriptors(this); 1996 KeyedLoadGenericElementStub::InstallDescriptors(this);
1997 GrowArrayElementsStub::InstallDescriptors(this);
1997 } 1998 }
1998 1999
1999 CallDescriptors::InitializeForIsolate(this); 2000 CallDescriptors::InitializeForIsolate(this);
2000 2001
2001 initialized_from_snapshot_ = (des != NULL); 2002 initialized_from_snapshot_ = (des != NULL);
2002 2003
2003 return true; 2004 return true;
2004 } 2005 }
2005 2006
2006 2007
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
2351 if (prev_ && prev_->Intercept(flag)) return true; 2352 if (prev_ && prev_->Intercept(flag)) return true;
2352 // Then check whether this scope intercepts. 2353 // Then check whether this scope intercepts.
2353 if ((flag & intercept_mask_)) { 2354 if ((flag & intercept_mask_)) {
2354 intercepted_flags_ |= flag; 2355 intercepted_flags_ |= flag;
2355 return true; 2356 return true;
2356 } 2357 }
2357 return false; 2358 return false;
2358 } 2359 }
2359 2360
2360 } } // namespace v8::internal 2361 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/runtime.h » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698