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

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 151146: Treat the builtins object like other global objects (with... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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
« no previous file with comments | « src/stub-cache.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 Object* CallStubCompiler::CompileCallInterceptor(Object* a, 59 Object* CallStubCompiler::CompileCallInterceptor(Object* a,
60 JSObject* b, 60 JSObject* b,
61 String* c) { 61 String* c) {
62 UNIMPLEMENTED(); 62 UNIMPLEMENTED();
63 return NULL; 63 return NULL;
64 } 64 }
65 65
66 66
67 67
68 Object* CallStubCompiler::CompileCallGlobal(JSGlobalObject* object, 68 Object* CallStubCompiler::CompileCallGlobal(GlobalObject* object,
69 JSGlobalPropertyCell* cell, 69 JSGlobalPropertyCell* cell,
70 JSFunction* function, 70 JSFunction* function,
71 String* name) { 71 String* name) {
72 UNIMPLEMENTED(); 72 UNIMPLEMENTED();
73 return NULL; 73 return NULL;
74 } 74 }
75 75
76 76
77 Object* LoadStubCompiler::CompileLoadCallback(JSObject* a, 77 Object* LoadStubCompiler::CompileLoadCallback(JSObject* a,
78 JSObject* b, 78 JSObject* b,
(...skipping 23 matching lines...) Expand all
102 102
103 103
104 Object* LoadStubCompiler::CompileLoadInterceptor(JSObject* a, 104 Object* LoadStubCompiler::CompileLoadInterceptor(JSObject* a,
105 JSObject* b, 105 JSObject* b,
106 String* c) { 106 String* c) {
107 UNIMPLEMENTED(); 107 UNIMPLEMENTED();
108 return NULL; 108 return NULL;
109 } 109 }
110 110
111 111
112 Object* LoadStubCompiler::CompileLoadGlobal(JSGlobalObject* object, 112 Object* LoadStubCompiler::CompileLoadGlobal(GlobalObject* object,
113 JSGlobalPropertyCell* cell, 113 JSGlobalPropertyCell* cell,
114 String* name, 114 String* name,
115 bool is_dont_delete) { 115 bool is_dont_delete) {
116 UNIMPLEMENTED(); 116 UNIMPLEMENTED();
117 return NULL; 117 return NULL;
118 } 118 }
119 119
120 120
121 Object* StoreStubCompiler::CompileStoreCallback(JSObject* a, 121 Object* StoreStubCompiler::CompileStoreCallback(JSObject* a,
122 AccessorInfo* b, 122 AccessorInfo* b,
(...skipping 11 matching lines...) Expand all
134 return NULL; 134 return NULL;
135 } 135 }
136 136
137 137
138 Object* StoreStubCompiler::CompileStoreInterceptor(JSObject* a, String* b) { 138 Object* StoreStubCompiler::CompileStoreInterceptor(JSObject* a, String* b) {
139 UNIMPLEMENTED(); 139 UNIMPLEMENTED();
140 return NULL; 140 return NULL;
141 } 141 }
142 142
143 143
144 Object* StoreStubCompiler::CompileStoreGlobal(JSGlobalObject* object, 144 Object* StoreStubCompiler::CompileStoreGlobal(GlobalObject* object,
145 JSGlobalPropertyCell* cell, 145 JSGlobalPropertyCell* cell,
146 String* name) { 146 String* name) {
147 UNIMPLEMENTED(); 147 UNIMPLEMENTED();
148 return NULL; 148 return NULL;
149 } 149 }
150 150
151 151
152 // TODO(1241006): Avoid having lazy compile stubs specialized by the 152 // TODO(1241006): Avoid having lazy compile stubs specialized by the
153 // number of arguments. It is not needed anymore. 153 // number of arguments. It is not needed anymore.
154 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) { 154 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) {
(...skipping 14 matching lines...) Expand all
169 __ lea(rcx, FieldOperand(rax, Code::kHeaderSize)); 169 __ lea(rcx, FieldOperand(rax, Code::kHeaderSize));
170 __ jmp(rcx); 170 __ jmp(rcx);
171 171
172 return GetCodeWithFlags(flags, "LazyCompileStub"); 172 return GetCodeWithFlags(flags, "LazyCompileStub");
173 } 173 }
174 174
175 #undef __ 175 #undef __
176 176
177 177
178 } } // namespace v8::internal 178 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698