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

Side by Side Diff: src/code-stubs.h

Issue 39803002: Get rid of unused STRING_ADD_ERECT_FRAME flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/code-stubs-arm.cc ('k') | src/ia32/code-stubs-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // TODO(bmeurer): Move to the StringAddStub declaration once we're 398 // TODO(bmeurer): Move to the StringAddStub declaration once we're
399 // done with the translation to a hydrogen code stub. 399 // done with the translation to a hydrogen code stub.
400 enum StringAddFlags { 400 enum StringAddFlags {
401 // Omit both parameter checks. 401 // Omit both parameter checks.
402 STRING_ADD_CHECK_NONE = 0, 402 STRING_ADD_CHECK_NONE = 0,
403 // Check left parameter. 403 // Check left parameter.
404 STRING_ADD_CHECK_LEFT = 1 << 0, 404 STRING_ADD_CHECK_LEFT = 1 << 0,
405 // Check right parameter. 405 // Check right parameter.
406 STRING_ADD_CHECK_RIGHT = 1 << 1, 406 STRING_ADD_CHECK_RIGHT = 1 << 1,
407 // Check both parameters. 407 // Check both parameters.
408 STRING_ADD_CHECK_BOTH = STRING_ADD_CHECK_LEFT | STRING_ADD_CHECK_RIGHT, 408 STRING_ADD_CHECK_BOTH = STRING_ADD_CHECK_LEFT | STRING_ADD_CHECK_RIGHT
409 // Stub needs a frame before calling the runtime
410 STRING_ADD_ERECT_FRAME = 1 << 2
411 }; 409 };
412 410
413 } } // namespace v8::internal 411 } } // namespace v8::internal
414 412
415 #if V8_TARGET_ARCH_IA32 413 #if V8_TARGET_ARCH_IA32
416 #include "ia32/code-stubs-ia32.h" 414 #include "ia32/code-stubs-ia32.h"
417 #elif V8_TARGET_ARCH_X64 415 #elif V8_TARGET_ARCH_X64
418 #include "x64/code-stubs-x64.h" 416 #include "x64/code-stubs-x64.h"
419 #elif V8_TARGET_ARCH_ARM 417 #elif V8_TARGET_ARCH_ARM
420 #include "arm/code-stubs-arm.h" 418 #include "arm/code-stubs-arm.h"
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after
2359 int MinorKey() { return 0; } 2357 int MinorKey() { return 0; }
2360 2358
2361 void Generate(MacroAssembler* masm); 2359 void Generate(MacroAssembler* masm);
2362 2360
2363 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 2361 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
2364 }; 2362 };
2365 2363
2366 } } // namespace v8::internal 2364 } } // namespace v8::internal
2367 2365
2368 #endif // V8_CODE_STUBS_H_ 2366 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698