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

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: A partial delta against Toon's previous review Created 7 years, 9 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 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) \
200 V(ArrayCode, BUILTIN, UNINITIALIZED, \ 198 V(ArrayCode, BUILTIN, UNINITIALIZED, \
201 Code::kNoExtraICState) \ 199 Code::kNoExtraICState) \
202 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ 200 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \
203 Code::kNoExtraICState) \ 201 Code::kNoExtraICState) \
204 \ 202 \
205 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 203 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
206 Code::kNoExtraICState) \ 204 Code::kNoExtraICState) \
207 \ 205 \
208 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 206 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
209 Code::kNoExtraICState) \ 207 Code::kNoExtraICState) \
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ 266 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \
269 V(TO_OBJECT, 0) \ 267 V(TO_OBJECT, 0) \
270 V(TO_NUMBER, 0) \ 268 V(TO_NUMBER, 0) \
271 V(TO_STRING, 0) \ 269 V(TO_STRING, 0) \
272 V(STRING_ADD_LEFT, 1) \ 270 V(STRING_ADD_LEFT, 1) \
273 V(STRING_ADD_RIGHT, 1) \ 271 V(STRING_ADD_RIGHT, 1) \
274 V(APPLY_PREPARE, 1) \ 272 V(APPLY_PREPARE, 1) \
275 V(APPLY_OVERFLOW, 1) 273 V(APPLY_OVERFLOW, 1)
276 274
277 MaybeObject* ArrayConstructor_StubFailure(Arguments args, Isolate* isolate); 275 MaybeObject* ArrayConstructor_StubFailure(Arguments args, Isolate* isolate);
278 // DECLARE_RUNTIME_FUNCTION(MaybeObject*, ArrayConstructor_StubFailure);
279 276
280 class BuiltinFunctionTable; 277 class BuiltinFunctionTable;
281 class ObjectVisitor; 278 class ObjectVisitor;
282 279
283 280
284 class Builtins { 281 class Builtins {
285 public: 282 public:
286 ~Builtins(); 283 ~Builtins();
287 284
288 // Generate all builtin code objects. Should be called once during 285 // Generate all builtin code objects. Should be called once during
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 static void Generate_NotifyDeoptimized(MacroAssembler* masm); 377 static void Generate_NotifyDeoptimized(MacroAssembler* masm);
381 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 378 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
382 static void Generate_NotifyOSR(MacroAssembler* masm); 379 static void Generate_NotifyOSR(MacroAssembler* masm);
383 static void Generate_NotifyStubFailure(MacroAssembler* masm); 380 static void Generate_NotifyStubFailure(MacroAssembler* masm);
384 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 381 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
385 382
386 static void Generate_FunctionCall(MacroAssembler* masm); 383 static void Generate_FunctionCall(MacroAssembler* masm);
387 static void Generate_FunctionApply(MacroAssembler* masm); 384 static void Generate_FunctionApply(MacroAssembler* masm);
388 385
389 static void Generate_InternalArrayCode(MacroAssembler* masm); 386 static void Generate_InternalArrayCode(MacroAssembler* masm);
390 static void Generate_InternalArrayConstructCode(MacroAssembler* masm);
391 static void Generate_ArrayCode(MacroAssembler* masm); 387 static void Generate_ArrayCode(MacroAssembler* masm);
392 static void Generate_ArrayConstructCode(MacroAssembler* masm); 388 static void Generate_ArrayConstructCode(MacroAssembler* masm);
393 389
394 static void Generate_StringConstructCode(MacroAssembler* masm); 390 static void Generate_StringConstructCode(MacroAssembler* masm);
395 static void Generate_OnStackReplacement(MacroAssembler* masm); 391 static void Generate_OnStackReplacement(MacroAssembler* masm);
396 392
397 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \ 393 #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
398 static void Generate_Make##C##CodeYoungAgainEvenMarking( \ 394 static void Generate_Make##C##CodeYoungAgainEvenMarking( \
399 MacroAssembler* masm); \ 395 MacroAssembler* masm); \
400 static void Generate_Make##C##CodeYoungAgainOddMarking( \ 396 static void Generate_Make##C##CodeYoungAgainOddMarking( \
401 MacroAssembler* masm); 397 MacroAssembler* masm);
402 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR) 398 CODE_AGE_LIST(DECLARE_CODE_AGE_BUILTIN_GENERATOR)
403 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR 399 #undef DECLARE_CODE_AGE_BUILTIN_GENERATOR
404 400
405 static void InitBuiltinFunctionTable(); 401 static void InitBuiltinFunctionTable();
406 402
407 bool initialized_; 403 bool initialized_;
408 404
409 friend class BuiltinFunctionTable; 405 friend class BuiltinFunctionTable;
410 friend class Isolate; 406 friend class Isolate;
411 407
412 DISALLOW_COPY_AND_ASSIGN(Builtins); 408 DISALLOW_COPY_AND_ASSIGN(Builtins);
413 }; 409 };
414 410
415 } } // namespace v8::internal 411 } } // namespace v8::internal
416 412
417 #endif // V8_BUILTINS_H_ 413 #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