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

Side by Side Diff: src/builtins.h

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 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
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 Code::kNoExtraICState) \ 188 Code::kNoExtraICState) \
189 \ 189 \
190 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 190 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
191 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 191 V(FunctionCall, BUILTIN, UNINITIALIZED, \
192 Code::kNoExtraICState) \ 192 Code::kNoExtraICState) \
193 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 193 V(FunctionApply, BUILTIN, UNINITIALIZED, \
194 Code::kNoExtraICState) \ 194 Code::kNoExtraICState) \
195 \ 195 \
196 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \ 196 V(InternalArrayCode, BUILTIN, UNINITIALIZED, \
197 Code::kNoExtraICState) \ 197 Code::kNoExtraICState) \
198 V(InternalArrayConstructCode, BUILTIN, UNINITIALIZED, \
199 Code::kNoExtraICState) \
198 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 200 V(ArrayCode, BUILTIN, UNINITIALIZED, \
199 Code::kNoExtraICState) \ 201 Code::kNoExtraICState) \
200 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ 202 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \
201 Code::kNoExtraICState) \ 203 Code::kNoExtraICState) \
202 \ 204 \
203 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 205 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
204 Code::kNoExtraICState) \ 206 Code::kNoExtraICState) \
205 \ 207 \
206 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 208 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
207 Code::kNoExtraICState) \ 209 Code::kNoExtraICState) \
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 V(CALL_FUNCTION_PROXY, 1) \ 267 V(CALL_FUNCTION_PROXY, 1) \
266 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ 268 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \
267 V(TO_OBJECT, 0) \ 269 V(TO_OBJECT, 0) \
268 V(TO_NUMBER, 0) \ 270 V(TO_NUMBER, 0) \
269 V(TO_STRING, 0) \ 271 V(TO_STRING, 0) \
270 V(STRING_ADD_LEFT, 1) \ 272 V(STRING_ADD_LEFT, 1) \
271 V(STRING_ADD_RIGHT, 1) \ 273 V(STRING_ADD_RIGHT, 1) \
272 V(APPLY_PREPARE, 1) \ 274 V(APPLY_PREPARE, 1) \
273 V(APPLY_OVERFLOW, 1) 275 V(APPLY_OVERFLOW, 1)
274 276
277 MaybeObject* ArrayConstructor_StubFailure(Arguments args, Isolate* isolate);
278 // DECLARE_RUNTIME_FUNCTION(MaybeObject*, ArrayConstructor_StubFailure);
275 279
276 class BuiltinFunctionTable; 280 class BuiltinFunctionTable;
277 class ObjectVisitor; 281 class ObjectVisitor;
278 282
279 283
280 class Builtins { 284 class Builtins {
281 public: 285 public:
282 ~Builtins(); 286 ~Builtins();
283 287
284 // Generate all builtin code objects. Should be called once during 288 // Generate all builtin code objects. Should be called once during
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 static void Generate_NotifyDeoptimized(MacroAssembler* masm); 380 static void Generate_NotifyDeoptimized(MacroAssembler* masm);
377 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 381 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
378 static void Generate_NotifyOSR(MacroAssembler* masm); 382 static void Generate_NotifyOSR(MacroAssembler* masm);
379 static void Generate_NotifyStubFailure(MacroAssembler* masm); 383 static void Generate_NotifyStubFailure(MacroAssembler* masm);
380 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 384 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
381 385
382 static void Generate_FunctionCall(MacroAssembler* masm); 386 static void Generate_FunctionCall(MacroAssembler* masm);
383 static void Generate_FunctionApply(MacroAssembler* masm); 387 static void Generate_FunctionApply(MacroAssembler* masm);
384 388
385 static void Generate_InternalArrayCode(MacroAssembler* masm); 389 static void Generate_InternalArrayCode(MacroAssembler* masm);
390 static void Generate_InternalArrayConstructCode(MacroAssembler* masm);
386 static void Generate_ArrayCode(MacroAssembler* masm); 391 static void Generate_ArrayCode(MacroAssembler* masm);
387 static void Generate_ArrayConstructCode(MacroAssembler* masm); 392 static void Generate_ArrayConstructCode(MacroAssembler* masm);
388 393
389 static void Generate_StringConstructCode(MacroAssembler* masm); 394 static void Generate_StringConstructCode(MacroAssembler* masm);
390 static void Generate_OnStackReplacement(MacroAssembler* masm); 395 static void Generate_OnStackReplacement(MacroAssembler* masm);
391 396
392 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 397 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
393 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 398 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
394 MacroAssembler* masm); \ 399 MacroAssembler* masm); \
395 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 400 static void Generate_Make##C##CodeYoungAgainOddMarking( \
396 MacroAssembler* masm); 401 MacroAssembler* masm);
397 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 402 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
398 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 403 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
399 404
400 static void InitBuiltinFunctionTable(); 405 static void InitBuiltinFunctionTable();
401 406
402 bool initialized_; 407 bool initialized_;
403 408
404 friend class BuiltinFunctionTable; 409 friend class BuiltinFunctionTable;
405 friend class Isolate; 410 friend class Isolate;
406 411
407 DISALLOW_COPY_AND_ASSIGN(Builtins); 412 DISALLOW_COPY_AND_ASSIGN(Builtins);
408 }; 413 };
409 414
410 } } // namespace v8::internal 415 } } // namespace v8::internal
411 416
412 #endif // V8_BUILTINS_H_ 417 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | src/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698