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

Side by Side Diff: src/builtins.h

Issue 153953005: A64: Synchronize with r16993. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/compiler.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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 V(ConcurrentRecompile, BUILTIN, UNINITIALIZED, \ 101 V(ConcurrentRecompile, BUILTIN, UNINITIALIZED, \
102 Code::kNoExtraICState) \ 102 Code::kNoExtraICState) \
103 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, \ 103 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, \
104 Code::kNoExtraICState) \ 104 Code::kNoExtraICState) \
105 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, \ 105 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, \
106 Code::kNoExtraICState) \ 106 Code::kNoExtraICState) \
107 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, \ 107 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, \
108 Code::kNoExtraICState) \ 108 Code::kNoExtraICState) \
109 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, \ 109 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, \
110 Code::kNoExtraICState) \ 110 Code::kNoExtraICState) \
111 V(NotifyOSR, BUILTIN, UNINITIALIZED, \
112 Code::kNoExtraICState) \
113 \ 111 \
114 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \ 112 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \
115 Code::kNoExtraICState) \ 113 Code::kNoExtraICState) \
116 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \ 114 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \
117 Code::kNoExtraICState) \ 115 Code::kNoExtraICState) \
118 V(KeyedLoadIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \ 116 V(KeyedLoadIC_MissForceGeneric, BUILTIN, UNINITIALIZED, \
119 Code::kNoExtraICState) \ 117 Code::kNoExtraICState) \
120 V(KeyedLoadIC_Slow, STUB, MONOMORPHIC, \ 118 V(KeyedLoadIC_Slow, STUB, MONOMORPHIC, \
121 Code::kNoExtraICState) \ 119 Code::kNoExtraICState) \
122 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \ 120 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 207 V(ArrayCode, BUILTIN, UNINITIALIZED, \
210 Code::kNoExtraICState) \ 208 Code::kNoExtraICState) \
211 \ 209 \
212 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 210 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
213 Code::kNoExtraICState) \ 211 Code::kNoExtraICState) \
214 \ 212 \
215 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 213 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
216 Code::kNoExtraICState) \ 214 Code::kNoExtraICState) \
217 V(InterruptCheck, BUILTIN, UNINITIALIZED, \ 215 V(InterruptCheck, BUILTIN, UNINITIALIZED, \
218 Code::kNoExtraICState) \ 216 Code::kNoExtraICState) \
217 V(OsrAfterStackCheck, BUILTIN, UNINITIALIZED, \
218 Code::kNoExtraICState) \
219 V(StackCheck, BUILTIN, UNINITIALIZED, \ 219 V(StackCheck, BUILTIN, UNINITIALIZED, \
220 Code::kNoExtraICState) \ 220 Code::kNoExtraICState) \
221 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 221 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
222 222
223 #ifdef ENABLE_DEBUGGER_SUPPORT 223 #ifdef ENABLE_DEBUGGER_SUPPORT
224 // Define list of builtins used by the debugger implemented in assembly. 224 // Define list of builtins used by the debugger implemented in assembly.
225 #define BUILTIN_LIST_DEBUG_A(V) \ 225 #define BUILTIN_LIST_DEBUG_A(V) \
226 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \ 226 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \
227 DEBUG_BREAK) \ 227 DEBUG_BREAK) \
228 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \ 228 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 static void Generate_JSConstructStubCountdown(MacroAssembler* masm); 381 static void Generate_JSConstructStubCountdown(MacroAssembler* masm);
382 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); 382 static void Generate_JSConstructStubGeneric(MacroAssembler* masm);
383 static void Generate_JSConstructStubApi(MacroAssembler* masm); 383 static void Generate_JSConstructStubApi(MacroAssembler* masm);
384 static void Generate_JSEntryTrampoline(MacroAssembler* masm); 384 static void Generate_JSEntryTrampoline(MacroAssembler* masm);
385 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); 385 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
386 static void Generate_LazyCompile(MacroAssembler* masm); 386 static void Generate_LazyCompile(MacroAssembler* masm);
387 static void Generate_LazyRecompile(MacroAssembler* masm); 387 static void Generate_LazyRecompile(MacroAssembler* masm);
388 static void Generate_NotifyDeoptimized(MacroAssembler* masm); 388 static void Generate_NotifyDeoptimized(MacroAssembler* masm);
389 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); 389 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm);
390 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 390 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
391 static void Generate_NotifyOSR(MacroAssembler* masm);
392 static void Generate_NotifyStubFailure(MacroAssembler* masm); 391 static void Generate_NotifyStubFailure(MacroAssembler* masm);
393 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 392 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
394 393
395 static void Generate_FunctionCall(MacroAssembler* masm); 394 static void Generate_FunctionCall(MacroAssembler* masm);
396 static void Generate_FunctionApply(MacroAssembler* masm); 395 static void Generate_FunctionApply(MacroAssembler* masm);
397 396
398 static void Generate_InternalArrayCode(MacroAssembler* masm); 397 static void Generate_InternalArrayCode(MacroAssembler* masm);
399 static void Generate_ArrayCode(MacroAssembler* masm); 398 static void Generate_ArrayCode(MacroAssembler* masm);
400 399
401 static void Generate_StringConstructCode(MacroAssembler* masm); 400 static void Generate_StringConstructCode(MacroAssembler* masm);
402 static void Generate_OnStackReplacement(MacroAssembler* masm); 401 static void Generate_OnStackReplacement(MacroAssembler* masm);
403 402 static void Generate_OsrAfterStackCheck(MacroAssembler* masm);
404 static void Generate_InterruptCheck(MacroAssembler* masm); 403 static void Generate_InterruptCheck(MacroAssembler* masm);
405 static void Generate_StackCheck(MacroAssembler* masm); 404 static void Generate_StackCheck(MacroAssembler* masm);
406 405
407 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 406 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
408 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 407 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
409 MacroAssembler* masm); \ 408 MacroAssembler* masm); \
410 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 409 static void Generate_Make##C##CodeYoungAgainOddMarking( \
411 MacroAssembler* masm); 410 MacroAssembler* masm);
412 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 411 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
413 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 412 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
414 413
415 static void InitBuiltinFunctionTable(); 414 static void InitBuiltinFunctionTable();
416 415
417 bool initialized_; 416 bool initialized_;
418 417
419 friend class BuiltinFunctionTable; 418 friend class BuiltinFunctionTable;
420 friend class Isolate; 419 friend class Isolate;
421 420
422 DISALLOW_COPY_AND_ASSIGN(Builtins); 421 DISALLOW_COPY_AND_ASSIGN(Builtins);
423 }; 422 };
424 423
425 } } // namespace v8::internal 424 } } // namespace v8::internal
426 425
427 #endif // V8_BUILTINS_H_ 426 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698