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

Side by Side Diff: src/builtins.h

Issue 23496046: Remove indirection when calling Runtime_StackGuard. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/arm/lithium-codegen-arm.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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 214 V(ArrayCode, BUILTIN, UNINITIALIZED, \
215 Code::kNoExtraICState) \ 215 Code::kNoExtraICState) \
216 \ 216 \
217 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 217 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
218 Code::kNoExtraICState) \ 218 Code::kNoExtraICState) \
219 \ 219 \
220 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 220 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
221 Code::kNoExtraICState) \ 221 Code::kNoExtraICState) \
222 V(InterruptCheck, BUILTIN, UNINITIALIZED, \ 222 V(InterruptCheck, BUILTIN, UNINITIALIZED, \
223 Code::kNoExtraICState) \ 223 Code::kNoExtraICState) \
224 V(StackCheck, BUILTIN, UNINITIALIZED, \
225 Code::kNoExtraICState) \
226 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 224 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
227 225
228 #ifdef ENABLE_DEBUGGER_SUPPORT 226 #ifdef ENABLE_DEBUGGER_SUPPORT
229 // Define list of builtins used by the debugger implemented in assembly. 227 // Define list of builtins used by the debugger implemented in assembly.
230 #define BUILTIN_LIST_DEBUG_A(V) \ 228 #define BUILTIN_LIST_DEBUG_A(V) \
231 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \ 229 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \
232 DEBUG_BREAK) \ 230 DEBUG_BREAK) \
233 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \ 231 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \
234 DEBUG_BREAK) \ 232 DEBUG_BREAK) \
235 V(CallFunctionStub_Recording_DebugBreak, BUILTIN, DEBUG_STUB, \ 233 V(CallFunctionStub_Recording_DebugBreak, BUILTIN, DEBUG_STUB, \
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 static void Generate_FunctionCall(MacroAssembler* masm); 399 static void Generate_FunctionCall(MacroAssembler* masm);
402 static void Generate_FunctionApply(MacroAssembler* masm); 400 static void Generate_FunctionApply(MacroAssembler* masm);
403 401
404 static void Generate_InternalArrayCode(MacroAssembler* masm); 402 static void Generate_InternalArrayCode(MacroAssembler* masm);
405 static void Generate_ArrayCode(MacroAssembler* masm); 403 static void Generate_ArrayCode(MacroAssembler* masm);
406 404
407 static void Generate_StringConstructCode(MacroAssembler* masm); 405 static void Generate_StringConstructCode(MacroAssembler* masm);
408 static void Generate_OnStackReplacement(MacroAssembler* masm); 406 static void Generate_OnStackReplacement(MacroAssembler* masm);
409 407
410 static void Generate_InterruptCheck(MacroAssembler* masm); 408 static void Generate_InterruptCheck(MacroAssembler* masm);
411 static void Generate_StackCheck(MacroAssembler* masm);
412 409
413 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 410 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
414 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 411 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
415 MacroAssembler* masm); \ 412 MacroAssembler* masm); \
416 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 413 static void Generate_Make##C##CodeYoungAgainOddMarking( \
417 MacroAssembler* masm); 414 MacroAssembler* masm);
418 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 415 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
419 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 416 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
420 417
421 static void InitBuiltinFunctionTable(); 418 static void InitBuiltinFunctionTable();
422 419
423 bool initialized_; 420 bool initialized_;
424 421
425 friend class BuiltinFunctionTable; 422 friend class BuiltinFunctionTable;
426 friend class Isolate; 423 friend class Isolate;
427 424
428 DISALLOW_COPY_AND_ASSIGN(Builtins); 425 DISALLOW_COPY_AND_ASSIGN(Builtins);
429 }; 426 };
430 427
431 } } // namespace v8::internal 428 } } // namespace v8::internal
432 429
433 #endif // V8_BUILTINS_H_ 430 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698