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

Side by Side Diff: src/builtins.h

Issue 12385014: Hydrogen stubs for array constructors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: We still generated the arrays with feature flag off. Fixed. Created 7 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 | « src/bootstrapper.cc ('k') | src/builtins.cc » ('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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 192 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
193 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 193 V(FunctionCall, BUILTIN, UNINITIALIZED, \
194 Code::kNoExtraICState) \ 194 Code::kNoExtraICState) \
195 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 195 V(FunctionApply, BUILTIN, UNINITIALIZED, \
196 Code::kNoExtraICState) \ 196 Code::kNoExtraICState) \
197 \ 197 \
198 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \ 198 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \
199 Code::kNoExtraICState) \ 199 Code::kNoExtraICState) \
200 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 200 V(ArrayCode, BUILTIN, UNINITIALIZED, \
201 Code::kNoExtraICState) \ 201 Code::kNoExtraICState) \
202 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ 202 V(CommonArrayConstructCode, BUILTIN, UNINITIALIZED, \
203 Code::kNoExtraICState) \ 203 Code::kNoExtraICState) \
204 \ 204 \
205 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 205 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
206 Code::kNoExtraICState) \ 206 Code::kNoExtraICState) \
207 \ 207 \
208 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 208 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
209 Code::kNoExtraICState) \ 209 Code::kNoExtraICState) \
210 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 210 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
211 211
212 #ifdef ENABLE_DEBUGGER_SUPPORT 212 #ifdef ENABLE_DEBUGGER_SUPPORT
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 381 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
382 static void Generate_NotifyOSR(MacroAssembler* masm); 382 static void Generate_NotifyOSR(MacroAssembler* masm);
383 static void Generate_NotifyStubFailure(MacroAssembler* masm); 383 static void Generate_NotifyStubFailure(MacroAssembler* masm);
384 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 384 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
385 385
386 static void Generate_FunctionCall(MacroAssembler* masm); 386 static void Generate_FunctionCall(MacroAssembler* masm);
387 static void Generate_FunctionApply(MacroAssembler* masm); 387 static void Generate_FunctionApply(MacroAssembler* masm);
388 388
389 static void Generate_InternalArrayCode(MacroAssembler* masm); 389 static void Generate_InternalArrayCode(MacroAssembler* masm);
390 static void Generate_ArrayCode(MacroAssembler* masm); 390 static void Generate_ArrayCode(MacroAssembler* masm);
391 static void Generate_ArrayConstructCode(MacroAssembler* masm); 391 static void Generate_CommonArrayConstructCode(MacroAssembler* masm);
392 392
393 static void Generate_StringConstructCode(MacroAssembler* masm); 393 static void Generate_StringConstructCode(MacroAssembler* masm);
394 static void Generate_OnStackReplacement(MacroAssembler* masm); 394 static void Generate_OnStackReplacement(MacroAssembler* masm);
395 395
396 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 396 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
397 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 397 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
398 MacroAssembler* masm); \ 398 MacroAssembler* masm); \
399 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 399 static void Generate_Make##C##CodeYoungAgainOddMarking( \
400 MacroAssembler* masm); 400 MacroAssembler* masm);
401 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 401 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
402 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 402 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
403 403
404 static void InitBuiltinFunctionTable(); 404 static void InitBuiltinFunctionTable();
405 405
406 bool initialized_; 406 bool initialized_;
407 407
408 friend class BuiltinFunctionTable; 408 friend class BuiltinFunctionTable;
409 friend class Isolate; 409 friend class Isolate;
410 410
411 DISALLOW_COPY_AND_ASSIGN(Builtins); 411 DISALLOW_COPY_AND_ASSIGN(Builtins);
412 }; 412 };
413 413
414 } } // namespace v8::internal 414 } } // namespace v8::internal
415 415
416 #endif // V8_BUILTINS_H_ 416 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698