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

Side by Side Diff: src/api.cc

Issue 6720014: Isolates: Cleanup usage of FACTORY in code stubs and bootstrapper. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor edits. 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
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | src/bootstrapper.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after
3697 proxy_constructor->set_needs_access_check( 3697 proxy_constructor->set_needs_access_check(
3698 global_constructor->needs_access_check()); 3698 global_constructor->needs_access_check());
3699 global_constructor->set_needs_access_check(false); 3699 global_constructor->set_needs_access_check(false);
3700 global_constructor->set_access_check_info( 3700 global_constructor->set_access_check_info(
3701 isolate->heap()->undefined_value()); 3701 isolate->heap()->undefined_value());
3702 } 3702 }
3703 } 3703 }
3704 3704
3705 // Create the environment. 3705 // Create the environment.
3706 env = isolate->bootstrapper()->CreateEnvironment( 3706 env = isolate->bootstrapper()->CreateEnvironment(
3707 isolate,
3707 Utils::OpenHandle(*global_object), 3708 Utils::OpenHandle(*global_object),
3708 proxy_template, 3709 proxy_template,
3709 extensions); 3710 extensions);
3710 3711
3711 // Restore the access check info on the global template. 3712 // Restore the access check info on the global template.
3712 if (!global_template.IsEmpty()) { 3713 if (!global_template.IsEmpty()) {
3713 ASSERT(!global_constructor.is_null()); 3714 ASSERT(!global_constructor.is_null());
3714 ASSERT(!proxy_constructor.is_null()); 3715 ASSERT(!proxy_constructor.is_null());
3715 global_constructor->set_access_check_info( 3716 global_constructor->set_access_check_info(
3716 proxy_constructor->access_check_info()); 3717 proxy_constructor->access_check_info());
(...skipping 1952 matching lines...) Expand 10 before | Expand all | Expand 10 after
5669 5670
5670 5671
5671 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 5672 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
5672 HandleScopeImplementer* scope_implementer = 5673 HandleScopeImplementer* scope_implementer =
5673 reinterpret_cast<HandleScopeImplementer*>(storage); 5674 reinterpret_cast<HandleScopeImplementer*>(storage);
5674 scope_implementer->IterateThis(v); 5675 scope_implementer->IterateThis(v);
5675 return storage + ArchiveSpacePerThread(); 5676 return storage + ArchiveSpacePerThread();
5676 } 5677 }
5677 5678
5678 } } // namespace v8::internal 5679 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | src/bootstrapper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698