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

Side by Side Diff: src/builtins.h

Issue 9016041: Ensure that InternalArrays remain InternalArrays regardless of how they are constructed. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix whitespace Created 8 years, 11 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/bootstrapper.cc ('k') | src/contexts.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 Code::kNoExtraICState) \ 171 Code::kNoExtraICState) \
172 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \ 172 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \
173 Code::kNoExtraICState) \ 173 Code::kNoExtraICState) \
174 \ 174 \
175 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 175 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
176 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 176 V(FunctionCall, BUILTIN, UNINITIALIZED, \
177 Code::kNoExtraICState) \ 177 Code::kNoExtraICState) \
178 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 178 V(FunctionApply, BUILTIN, UNINITIALIZED, \
179 Code::kNoExtraICState) \ 179 Code::kNoExtraICState) \
180 \ 180 \
181 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \
182 Code::kNoExtraICState) \
181 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 183 V(ArrayCode, BUILTIN, UNINITIALIZED, \
182 Code::kNoExtraICState) \ 184 Code::kNoExtraICState) \
183 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ 185 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \
184 Code::kNoExtraICState) \ 186 Code::kNoExtraICState) \
185 \ 187 \
186 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 188 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
187 Code::kNoExtraICState) \ 189 Code::kNoExtraICState) \
188 \ 190 \
189 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 191 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
190 Code::kNoExtraICState) 192 Code::kNoExtraICState)
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 static void Generate_LazyCompile(MacroAssembler* masm); 354 static void Generate_LazyCompile(MacroAssembler* masm);
353 static void Generate_LazyRecompile(MacroAssembler* masm); 355 static void Generate_LazyRecompile(MacroAssembler* masm);
354 static void Generate_NotifyDeoptimized(MacroAssembler* masm); 356 static void Generate_NotifyDeoptimized(MacroAssembler* masm);
355 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 357 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
356 static void Generate_NotifyOSR(MacroAssembler* masm); 358 static void Generate_NotifyOSR(MacroAssembler* masm);
357 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 359 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
358 360
359 static void Generate_FunctionCall(MacroAssembler* masm); 361 static void Generate_FunctionCall(MacroAssembler* masm);
360 static void Generate_FunctionApply(MacroAssembler* masm); 362 static void Generate_FunctionApply(MacroAssembler* masm);
361 363
364 static void Generate_InternalArrayCode(MacroAssembler* masm);
362 static void Generate_ArrayCode(MacroAssembler* masm); 365 static void Generate_ArrayCode(MacroAssembler* masm);
363 static void Generate_ArrayConstructCode(MacroAssembler* masm); 366 static void Generate_ArrayConstructCode(MacroAssembler* masm);
364 367
365 static void Generate_StringConstructCode(MacroAssembler* masm); 368 static void Generate_StringConstructCode(MacroAssembler* masm);
366 static void Generate_OnStackReplacement(MacroAssembler* masm); 369 static void Generate_OnStackReplacement(MacroAssembler* masm);
367 370
368 static void InitBuiltinFunctionTable(); 371 static void InitBuiltinFunctionTable();
369 372
370 bool initialized_; 373 bool initialized_;
371 374
372 friend class BuiltinFunctionTable; 375 friend class BuiltinFunctionTable;
373 friend class Isolate; 376 friend class Isolate;
374 377
375 DISALLOW_COPY_AND_ASSIGN(Builtins); 378 DISALLOW_COPY_AND_ASSIGN(Builtins);
376 }; 379 };
377 380
378 } } // namespace v8::internal 381 } } // namespace v8::internal
379 382
380 #endif // V8_BUILTINS_H_ 383 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698