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

Side by Side Diff: src/assembler.h

Issue 9976003: Minimize uses of lazy initialization by adding explicit initialization functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Daniel's comments. Created 8 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/assembler.cc » ('j') | src/v8.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 528
529 // Direct call to API function callback. 529 // Direct call to API function callback.
530 // Handle<Value> f(v8::Arguments&) 530 // Handle<Value> f(v8::Arguments&)
531 DIRECT_API_CALL, 531 DIRECT_API_CALL,
532 532
533 // Direct call to accessor getter callback. 533 // Direct call to accessor getter callback.
534 // Handle<value> f(Local<String> property, AccessorInfo& info) 534 // Handle<value> f(Local<String> property, AccessorInfo& info)
535 DIRECT_GETTER_CALL 535 DIRECT_GETTER_CALL
536 }; 536 };
537 537
538 static void SetUp();
539
538 typedef void* ExternalReferenceRedirector(void* original, Type type); 540 typedef void* ExternalReferenceRedirector(void* original, Type type);
539 541
540 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); 542 ExternalReference(Builtins::CFunctionId id, Isolate* isolate);
541 543
542 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); 544 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate);
543 545
544 ExternalReference(Builtins::Name name, Isolate* isolate); 546 ExternalReference(Builtins::Name name, Isolate* isolate);
545 547
546 ExternalReference(Runtime::FunctionId id, Isolate* isolate); 548 ExternalReference(Runtime::FunctionId id, Isolate* isolate);
547 549
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 public: 872 public:
871 NullCallWrapper() { } 873 NullCallWrapper() { }
872 virtual ~NullCallWrapper() { } 874 virtual ~NullCallWrapper() { }
873 virtual void BeforeCall(int call_size) const { } 875 virtual void BeforeCall(int call_size) const { }
874 virtual void AfterCall() const { } 876 virtual void AfterCall() const { }
875 }; 877 };
876 878
877 } } // namespace v8::internal 879 } } // namespace v8::internal
878 880
879 #endif // V8_ASSEMBLER_H_ 881 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698